Skip to content

Commit 3863ab8

Browse files
committed
chore(ts): add strict null checks
1 parent e061389 commit 3863ab8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"compilerOptions": {
33
/* Include Typescript declaration files */
44
"declaration": true,
5-
5+
66
/* Basic Options */
77
"target": "es2015",
88
"module": "es2015",
@@ -13,6 +13,7 @@
1313

1414
/* Strict Type-Checking Options */
1515
"strict": true,
16+
"strictNullChecks": true,
1617

1718
/* Module Resolution Options */
1819
"moduleResolution": "node",

0 commit comments

Comments
 (0)