Fix typescript error (#12074)

This commit is contained in:
Jesse Yang
2020-12-16 21:50:56 -08:00
committed by GitHub
parent dd0c53158f
commit 02c6a0befc

View File

@@ -16,6 +16,11 @@
"noUnusedLocals": true,
"outDir": "./dist",
"pretty": true,
"paths": {
// for supressing errors caused by incompatible @types/react when `npm link`
// Ref: https://github.com/Microsoft/typescript/issues/6496#issuecomment-384786222
"*": ["./node_modules/@types/*", "*"]
},
"skipLibCheck": true,
"sourceMap": true,
"strictNullChecks": true,