Add type guards (#43)

This commit is contained in:
Sam Verschueren 2018-04-03 19:05:59 +02:00 committed by Sindre Sorhus
parent 5670ed7a97
commit 8894dbec17
3 changed files with 82 additions and 44 deletions

View file

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