Created
September 21, 2018 15:04
-
-
Save gcangussu/07f1c0fc4f9ca506a9fd061ba5bb336e to your computer and use it in GitHub Desktop.
Typescript compiler setup for front end
This file contains 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
{ | |
"compilerOptions": { | |
/* Basic Options */ | |
"target": "es2018", | |
"module": "es2015", | |
"resolveJsonModule": false, // Don't use untill fixed: https://github.com/Microsoft/TypeScript/issues/26020 | |
"lib": ["dom", "esnext"], | |
"allowJs": false, | |
"jsx": "preserve", | |
"sourceMap": true, | |
"outDir": "./dist", | |
/* Strict Type-Checking Options */ | |
"strict": true, | |
"noImplicitAny": false, | |
/* Additional Checks */ | |
"noUnusedLocals": true, | |
"noImplicitReturns": true, | |
"noFallthroughCasesInSwitch": true, | |
/* Module Resolution Options */ | |
"moduleResolution": "node", | |
"rootDirs": ["app"], | |
"allowSyntheticDefaultImports": true, | |
"esModuleInterop": true | |
}, | |
"include": ["app/**/*"], | |
"exclude": ["node_modules"] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment