Skip to content

Commit d6f11ea

Browse files
andy31415basarat
authored andcommitted
Add support for validating the "skipDefaultLibCheck" for compiler options in tsconfig.json. (#924)
This option should be suppored by the latest typescript compiler: https://www.typescriptlang.org/docs/handbook/compiler-options.html
1 parent 51ebb44 commit d6f11ea

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

dist/main/tsconfig/tsconfig.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ var compilerOptionsValidation = {
4444
preserveConstEnums: { type: types.boolean },
4545
removeComments: { type: types.boolean },
4646
rootDir: { type: types.string },
47+
skipDefaultLibCheck: { type: types.boolean },
4748
sourceMap: { type: types.boolean },
4849
sourceRoot: { type: types.string },
4950
stripInternal: { type: types.boolean },

lib/main/tsconfig/tsconfig.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ interface CompilerOptions {
5757
preserveConstEnums?: boolean;
5858
removeComments?: boolean; // Do not emit comments in output
5959
rootDir?: string;
60+
skipDefaultLibCheck?: boolean;
6061
sourceMap?: boolean; // Generates SourceMaps (.map files)
6162
sourceRoot?: string; // Optionally specifies the location where debugger should locate TypeScript source files after deployment
6263
stripInternal?: boolean;
@@ -109,6 +110,7 @@ var compilerOptionsValidation: simpleValidator.ValidationInfo = {
109110
preserveConstEnums: { type: types.boolean },
110111
removeComments: { type: types.boolean },
111112
rootDir: { type: types.string },
113+
skipDefaultLibCheck: { type: types.boolean },
112114
sourceMap: { type: types.boolean },
113115
sourceRoot: { type: types.string },
114116
stripInternal: { type: types.boolean },

0 commit comments

Comments
 (0)