Created
April 26, 2020 13:02
-
-
Save Borzilov/b9db271019e9411da976e8bd21c407af to your computer and use it in GitHub Desktop.
Strict ts-config
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
/* Strict Type-Checking Options */ | |
{ | |
"strict": true, /* Enable all strict type-checking options. */ | |
// "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */ | |
// "strictNullChecks": true, /* Enable strict null checks. */ | |
// "strictFunctionTypes": true, /* Enable strict checking of function types. */ | |
// "strictBindCallApply": true, /* Enable strict 'bind', 'call', and 'apply' methods on functions. */ | |
"strictPropertyInitialization": false, /* Enable strict checking of property initialization in classes. */ | |
// "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */ | |
// "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */ | |
/* Additional Checks */ | |
"noUnusedLocals": true, /* Report errors on unused locals. */ | |
"noUnusedParameters": true, /* Report errors on unused parameters. */ | |
"noImplicitReturns": true, /* Report error when not all code paths in function return a value. */ | |
"noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment