Skip to content

Commit 5df9362

Browse files
committed
add strict null task
1 parent d641ef8 commit 5df9362

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

.vscode/tasks.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,16 @@
2828
}
2929
}
3030
},
31+
{
32+
"type": "npm",
33+
"script": "strict-null-check-watch",
34+
"label": "TS - Strict Null Checks",
35+
"isBackground": true,
36+
"presentation": {
37+
"reveal": "never"
38+
},
39+
"problemMatcher": "$tsc-watch"
40+
},
3141
{
3242
"type": "gulp",
3343
"task": "tslint",

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
"smoketest": "cd test/smoke && node test/index.js",
2424
"monaco-compile-check": "tsc -p src/tsconfig.monaco.json --noEmit",
2525
"download-builtin-extensions": "node build/lib/builtInExtensions.js",
26-
"strict-null-check": "tsc -p src/tsconfig.strictNullChecks.json"
26+
"strict-null-check": "tsc -p src/tsconfig.strictNullChecks.json",
27+
"strict-null-check-watch": "tsc -p src/tsconfig.strictNullChecks.json --watch"
2728
},
2829
"dependencies": {
2930
"applicationinsights": "1.0.5",

0 commit comments

Comments
 (0)