Skip to content

Instantly share code, notes, and snippets.

@sayinserdar
Created February 20, 2021 19:06
Show Gist options
  • Save sayinserdar/7d00da489aac214d8b9a98c269d1d9ff to your computer and use it in GitHub Desktop.
Save sayinserdar/7d00da489aac214d8b9a98c269d1d9ff to your computer and use it in GitHub Desktop.
Tsconfig with paths
{
"compileOnSave": false,
"compilerOptions": {
"baseUrl": "./src",
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
"downlevelIteration": true,
"experimentalDecorators": true,
"module": "esnext",
"moduleResolution": "node",
"importHelpers": true,
"target": "es2015",
"typeRoots": [
"node_modules/@types"
],
"paths": {
"@app/*": [
"app/core/*"
],
"@shared/*": [
"app/shared/*"
],
"@env": [
"environments/environment"
],
"@modules/*": [
"app/modules/*"
],
"@data/*": [
"app/data/*"
]
},
"lib": [
"es2018",
"dom"
],
},
"angularCompilerOptions": {
"fullTemplateTypeCheck": true,
"strictInjectionParameters": true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment