Skip to content

Commit

Permalink
chore: add some doc for napi TsconfigOptions (#20)
Browse files Browse the repository at this point in the history
chore: 🤖 add some field doc for TsconfigOptions
  • Loading branch information
IWANABETHATGUY authored Dec 12, 2023
1 parent 276390d commit 2d5d678
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions napi/src/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ pub struct TsconfigOptions {
/// * an absolute path to the configuration file.
pub config_file: String,
/// Support for Typescript Project References.
/// For the type TsconfigReferences
///
/// alias type for [oxc_resolver::TsconfigReferences], cause napi does't support structured
/// enum
#[napi(ts_type = "'disabled'| 'auto' | 'Array<string>'")]
pub references: Either<String, Vec<String>>,
}
Expand Down

0 comments on commit 2d5d678

Please sign in to comment.