mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
9cf7b44f7c
Those options are enabled by default, they don't need to be explicit.
32 lines
796 B
JSON
32 lines
796 B
JSON
{
|
|
"compilerOptions": {
|
|
"sourceMap": true,
|
|
"inlineSources": true,
|
|
"declaration": true,
|
|
"noImplicitReturns": true,
|
|
"noPropertyAccessFromIndexSignature": true,
|
|
"downlevelIteration": true,
|
|
"experimentalDecorators": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"module": "esnext",
|
|
"moduleResolution": "bundler",
|
|
"esModuleInterop": true,
|
|
"importHelpers": true,
|
|
"target": "es2022",
|
|
"lib": ["es2022", "dom", "dom.iterable"],
|
|
"types": ["chrome"],
|
|
// TODO: Have an IDE specific tsconfig file
|
|
"paths": {
|
|
"@angular/*": ["../packages/*/index"]
|
|
}
|
|
},
|
|
"angularCompilerOptions": {
|
|
"strictInjectionParameters": true,
|
|
"extendedDiagnostics": {
|
|
"checks": {
|
|
"unusedStandaloneImports": "error"
|
|
}
|
|
}
|
|
}
|
|
}
|