Skip to content

Commit f3bfe3d

Browse files
chore: 🤖 add some field doc for TsconfigOptions
1 parent 276390d commit f3bfe3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎napi/src/options.rs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,8 @@ pub struct TsconfigOptions {
182182
/// * an absolute path to the configuration file.
183183
pub config_file: String,
184184
/// Support for Typescript Project References.
185-
/// For the type TsconfigReferences
186-
///
185+
/// alias type for [oxc_resolver::TsconfigReferences], cause napi does't support structured
186+
/// enum
187187
#[napi(ts_type = "'disabled'| 'auto' | 'Array<string>'")]
188188
pub references: Either<String, Vec<String>>,
189189
}

0 commit comments

Comments
 (0)