Improve TS code by adding generics and removing any where applicable (#49)

This commit is contained in:
Lukas Tetzlaff 2018-05-04 07:29:21 +02:00 committed by Sindre Sorhus
parent 55c00956f9
commit 1df2ff09ce
3 changed files with 42 additions and 45 deletions

View file

@ -14,16 +14,11 @@
"es2017.sharedmemory"
],
"stripInternal": true,
"noImplicitAny": true,
"strict": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"strictPropertyInitialization": true,
"alwaysStrict": true,
"esModuleInterop": true
},
"exclude": [