From a47091315be183ad5438e012ed628ae1824bb290 Mon Sep 17 00:00:00 2001 From: Andre Wachsmuth Date: Thu, 14 Nov 2024 17:24:19 +0000 Subject: [PATCH] `TsConfigJson`: Add `noCheck` to `compilerOptions` (#981) Co-authored-by: Sindre Sorhus --- source/tsconfig-json.d.ts | 7 +++++++ test-d/tsconfig-json.ts | 2 ++ 2 files changed, 9 insertions(+) diff --git a/source/tsconfig-json.d.ts b/source/tsconfig-json.d.ts index 710a03f1a..50d6c05d4 100644 --- a/source/tsconfig-json.d.ts +++ b/source/tsconfig-json.d.ts @@ -432,6 +432,13 @@ declare namespace TsConfigJson { */ newLine?: CompilerOptions.NewLine; + /** + Disable full type checking (only critical parse and emit errors will be reported). + + @default false + */ + noCheck?: boolean; + /** Do not emit output. diff --git a/test-d/tsconfig-json.ts b/test-d/tsconfig-json.ts index cf07836dd..1b1617629 100644 --- a/test-d/tsconfig-json.ts +++ b/test-d/tsconfig-json.ts @@ -12,3 +12,5 @@ expectType(tsConfig.include); expectType(tsConfig.references); expectType(tsConfig.typeAcquisition); expectAssignable(tsConfig); + +expectType(tsConfig.compilerOptions?.noCheck);