add strict null check and fix codes

This commit is contained in:
Yanzhen Yu
2018-10-08 11:20:48 +08:00
parent 4a1137748c
commit 978e12b089
5 changed files with 14 additions and 4 deletions

View File

@@ -2,6 +2,7 @@
"compilerOptions": {
"module": "commonjs",
"noImplicitAny": true,
"strictNullChecks": true,
"removeComments": true,
"preserveConstEnums": true,
"sourceMap": true,