add strict null task

This commit is contained in:
Johannes Rieken 2018-10-16 15:34:57 +02:00
parent d641ef85ba
commit 5df93623cf
2 changed files with 12 additions and 1 deletions

10
.vscode/tasks.json vendored
View file

@ -28,6 +28,16 @@
}
}
},
{
"type": "npm",
"script": "strict-null-check-watch",
"label": "TS - Strict Null Checks",
"isBackground": true,
"presentation": {
"reveal": "never"
},
"problemMatcher": "$tsc-watch"
},
{
"type": "gulp",
"task": "tslint",

View file

@ -23,7 +23,8 @@
"smoketest": "cd test/smoke && node test/index.js",
"monaco-compile-check": "tsc -p src/tsconfig.monaco.json --noEmit",
"download-builtin-extensions": "node build/lib/builtInExtensions.js",
"strict-null-check": "tsc -p src/tsconfig.strictNullChecks.json"
"strict-null-check": "tsc -p src/tsconfig.strictNullChecks.json",
"strict-null-check-watch": "tsc -p src/tsconfig.strictNullChecks.json --watch"
},
"dependencies": {
"applicationinsights": "1.0.5",