Skip to content

Commit b334e74

Browse files
committed
update tsconfig
1 parent 171b0ef commit b334e74

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tsconfig.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
/* Basic Options */
66
// "incremental": true, /* Enable incremental compilation */
7-
"target": "ES2018", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */
7+
"target": "ES2019", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */
88
"module": "ESNext", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */
99
// "lib": [], /* Specify library files to be included in the compilation. */
1010
"allowJs": true, /* Allow javascript files to be compiled. */
@@ -63,9 +63,11 @@
6363
// "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
6464

6565
/* Advanced Options */
66-
"skipLibCheck": true, /* Skip type checking of declaration files. */
66+
"skipLibCheck": false, /* Skip type checking of declaration files. */
67+
"skipDefaultLibCheck": true,
6768
"forceConsistentCasingInFileNames": true, /* Disallow inconsistently-cased references to the same file. */
6869
"resolveJsonModule": true,
70+
"noUncheckedIndexedAccess": true,
6971
},
7072
"include": [
7173
"src"

0 commit comments

Comments
 (0)