diff --git a/crates/oxc_isolated_declarations/src/lib.rs b/crates/oxc_isolated_declarations/src/lib.rs index 1601535125cb6..ee61178fb7340 100644 --- a/crates/oxc_isolated_declarations/src/lib.rs +++ b/crates/oxc_isolated_declarations/src/lib.rs @@ -31,11 +31,16 @@ use rustc_hash::{FxHashMap, FxHashSet}; use crate::scope::ScopeTree; -#[derive(Debug, Clone, Copy)] +#[derive(Debug, Default, Clone, Copy)] pub struct IsolatedDeclarationsOptions { - /// Do not emit declarations for code that has an @internal annotation in its JSDoc comment. - /// This is an internal compiler option; use at your own risk, because the compiler does not check that the result is valid. - /// + /// Do not emit declarations for code that has an `@internal` annotation in its JSDoc comment. + /// This is an internal compiler option; use at your own risk, because the compiler does not + /// check that the result is valid. + /// + /// Default: `false` + /// + /// ## References + /// [TSConfig - `stripInternal`](https://www.typescriptlang.org/tsconfig/#stripInternal) pub strip_internal: bool, }