Skip to content

TypeScript

Extend the base configuration in your tsconfig.json:

{
"extends": "@presencelearning/frontend-config/tsconfig.json",
"compilerOptions": {
"paths": {
"@root/*": ["./*"],
"@app/*": ["src/app/*"],
"@common/*": ["src/app/common/*"],
"@modules/*": ["src/app/modules/*"],
"@environments/*": ["src/environments/*"]
}
},
"include": ["src"],
"exclude": ["node_modules", "dist"]
}
  • Angular 18 compatible (ES2022, decorators)
  • Strict mode enabled
  • Optimized for the Angular compiler
  • Path mappings for clean imports