Add type guards for better type inference

This commit is contained in:
Sam Verschueren 2018-03-30 07:52:46 +02:00
parent 64ced4d33c
commit ff99cea8da
2 changed files with 56 additions and 44 deletions

View file

@ -7,6 +7,11 @@
"declaration": true,
"pretty": true,
"newLine": "lf",
"lib": [
"dom",
"es2016",
"es2017.sharedmemory"
],
"stripInternal": true,
"noImplicitAny": true,
"noImplicitReturns": true,