Enable strictNullChecks and noImplicitAny (#25724)
This commit is contained in:
parent
01a234aafa
commit
658e282929
1 changed files with 2 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"target": "es2016",
|
"target": "es2016",
|
||||||
"noImplicitAny": false,
|
"noImplicitAny": true,
|
||||||
"noUnusedLocals": true,
|
"noUnusedLocals": true,
|
||||||
"sourceMap": false,
|
"sourceMap": false,
|
||||||
"outDir": "./lib",
|
"outDir": "./lib",
|
||||||
|
@ -16,6 +16,7 @@
|
||||||
"lib": ["es2020", "dom", "dom.iterable"],
|
"lib": ["es2020", "dom", "dom.iterable"],
|
||||||
"alwaysStrict": true,
|
"alwaysStrict": true,
|
||||||
"strictBindCallApply": true,
|
"strictBindCallApply": true,
|
||||||
|
"strictNullChecks": true,
|
||||||
"noImplicitThis": true
|
"noImplicitThis": true
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
|
|
Loading…
Reference in a new issue