Last active
October 31, 2018 03:34
-
-
Save seanpmaxwell/7c76e6d3106812b61c5a8aa36ce0677c to your computer and use it in GitHub Desktop.
Enforce Type Safety in TypeScript
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"compileOnSave": false, | |
"compilerOptions": { | |
"noImplicitAny": true, <--- Add this option | |
"baseUrl": "./", | |
"outDir": "./dist/out-tsc", | |
"sourceMap": true, | |
"declaration": false, | |
"module": "es2015", | |
"moduleResolution": "node", | |
"emitDecoratorMetadata": true, | |
"experimentalDecorators": true, | |
"target": "es5", | |
"typeRoots": [ | |
"node_modules/@types" | |
], | |
"lib": [ | |
"es2017", | |
"dom" | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment