Skip to content

Instantly share code, notes, and snippets.

@kek-Sec
Created May 27, 2021 10:51
Show Gist options
  • Save kek-Sec/8a389f595a7128f7d224a17fc670de63 to your computer and use it in GitHub Desktop.
Save kek-Sec/8a389f595a7128f7d224a17fc670de63 to your computer and use it in GitHub Desktop.
tsconfig.json optimized compiler settings
{
"compileOnSave": false,
"compilerOptions": {
"baseUrl": "./",
"outDir": "./dist/out-tsc",
"forceConsistentCasingInFileNames": true,
"strict": true,
"strictPropertyInitialization": false,
"noImplicitAny": false,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"sourceMap": true,
"declaration": false,
"downlevelIteration": true,
"experimentalDecorators": true,
"moduleResolution": "node",
"importHelpers": true,
"target": "es2017",
"module": "es2020",
"lib": [
"es2018",
"dom"
]
},
"angularCompilerOptions": {
"enableI18nLegacyMessageIdFormat": false,
"strictInjectionParameters": true,
"strictInputAccessModifiers": true,
"strictTemplates": true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment