From 2d5d678eba38791d808ff38f9204c0d9d12eba88 Mon Sep 17 00:00:00 2001 From: IWANABETHATGUY Date: Tue, 12 Dec 2023 17:37:29 +0800 Subject: [PATCH] chore: add some doc for napi TsconfigOptions (#20) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit chore: 🤖 add some field doc for TsconfigOptions --- napi/src/options.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/napi/src/options.rs b/napi/src/options.rs index cc379aff..462dd4ac 100644 --- a/napi/src/options.rs +++ b/napi/src/options.rs @@ -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'")] pub references: Either>, }