Skip to content

Commit a4a87b0

Browse files
committed
update check-ts-errors
1 parent fedb5d2 commit a4a87b0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@
164164
"format": "prettier --write .",
165165
"lint": "npm run eslint",
166166
"eslint": "eslint --fix --ext .jsx --ext .js --ext .ts --ext .tsx --cache src",
167-
"check-ts-errors": "tsc --noEmit --strict false",
167+
"check-ts-errors": "tsc --noEmit --strictNullChecks false",
168168
"start": "npm run develop",
169169
"serve": "gatsby serve",
170170
"clean": "gatsby clean",

tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"module": "esnext",
1212
"moduleResolution": "node",
1313
"skipLibCheck": true,
14-
"strict": false // match check-ts-errors
14+
"strict": false, // match check-ts-errors
15+
"strictNullChecks": true
1516
}
1617
}

0 commit comments

Comments
 (0)