2017-08-03 02:15:30 +00:00
|
|
|
/**
|
|
|
|
|
* Root tsconfig file for use building all Angular packages. Note there is no rootDir
|
|
|
|
|
* and therefore any tsconfig in the package directory will need to define its own
|
|
|
|
|
* rootDir.
|
|
|
|
|
*/
|
|
|
|
|
{
|
|
|
|
|
"compilerOptions": {
|
|
|
|
|
"declaration": true,
|
|
|
|
|
"stripInternal": true,
|
|
|
|
|
"noImplicitAny": true,
|
2021-06-07 15:09:00 +00:00
|
|
|
"noImplicitOverride": true,
|
2017-08-03 02:15:30 +00:00
|
|
|
"strictNullChecks": true,
|
2023-09-11 11:21:09 +00:00
|
|
|
"noImplicitReturns": true,
|
|
|
|
|
"noPropertyAccessFromIndexSignature": true,
|
2021-09-25 12:58:32 +00:00
|
|
|
"esModuleInterop": true,
|
2019-06-14 07:27:41 +00:00
|
|
|
"strict": true,
|
2018-06-18 23:38:33 +00:00
|
|
|
"strictPropertyInitialization": true,
|
2017-08-03 02:15:30 +00:00
|
|
|
"noFallthroughCasesInSwitch": true,
|
|
|
|
|
"moduleResolution": "node",
|
2022-12-11 10:58:56 +00:00
|
|
|
"module": "esnext",
|
2023-03-16 11:21:04 +00:00
|
|
|
"target": "es2022",
|
2025-02-23 02:53:21 +00:00
|
|
|
"lib": ["es2020", "es2022", "dom", "dom.iterable"],
|
2017-08-03 02:15:30 +00:00
|
|
|
"skipLibCheck": true,
|
|
|
|
|
// don't auto-discover @types/node, it results in a ///<reference in the .d.ts output
|
|
|
|
|
"types": [],
|
|
|
|
|
"experimentalDecorators": true,
|
2017-09-09 01:40:32 +00:00
|
|
|
// This is needed due to https://github.com/Microsoft/TypeScript/issues/17516.
|
|
|
|
|
// As tsickle will lower decorators before TS, this is not a problem for our build.
|
|
|
|
|
"emitDecoratorMetadata": true,
|
2017-08-03 02:15:30 +00:00
|
|
|
"sourceMap": true,
|
2018-03-16 01:33:52 +00:00
|
|
|
"inlineSources": true,
|
2025-05-07 13:37:48 +00:00
|
|
|
"importHelpers": true,
|
|
|
|
|
"paths": {
|
2025-05-20 15:20:49 +00:00
|
|
|
"angular-in-memory-web-api": ["./misc/angular-in-memory-web-api/index"],
|
2025-05-19 10:54:54 +00:00
|
|
|
"@angular/*": ["./*/index"],
|
2025-06-18 17:50:34 +00:00
|
|
|
"@angular/common/locales/*": ["./common/locales/*"],
|
|
|
|
|
"@angular/compiler-cli": ["./compiler-cli"],
|
|
|
|
|
"@angular/compiler-cli/*": ["./compiler-cli/*"],
|
|
|
|
|
"@angular/compiler-cli/src/ngtsc/reflection": ["./compiler-cli/src/ngtsc/reflection/index"],
|
|
|
|
|
"@angular/compiler-cli/src/ngtsc/metadata": ["./compiler-cli/src/ngtsc/metadata/index"],
|
|
|
|
|
"@angular/compiler-cli/private/migrations": ["./compiler-cli/private/migrations"],
|
|
|
|
|
"@angular/core/schematics/utils/tsurge/*": ["./core/schematics/utils/tsurge/*"]
|
2025-05-07 13:37:48 +00:00
|
|
|
}
|
2018-02-09 18:22:00 +00:00
|
|
|
},
|
|
|
|
|
"bazelOptions": {
|
2021-12-16 13:11:53 +00:00
|
|
|
"suppressTsconfigOverrideWarnings": true
|
2025-03-20 10:37:23 +00:00
|
|
|
},
|
|
|
|
|
"angularCompilerOptions": {
|
|
|
|
|
"strictTemplates": true,
|
|
|
|
|
"typeCheckHostBindings": true
|
2017-08-03 02:15:30 +00:00
|
|
|
}
|
2022-12-11 10:58:56 +00:00
|
|
|
}
|