Add type guards for better type inference
This commit is contained in:
parent
64ced4d33c
commit
ff99cea8da
2 changed files with 56 additions and 44 deletions
|
|
@ -7,6 +7,11 @@
|
|||
"declaration": true,
|
||||
"pretty": true,
|
||||
"newLine": "lf",
|
||||
"lib": [
|
||||
"dom",
|
||||
"es2016",
|
||||
"es2017.sharedmemory"
|
||||
],
|
||||
"stripInternal": true,
|
||||
"noImplicitAny": true,
|
||||
"noImplicitReturns": true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue