angular/packages/tsconfig-build.json
Joey Perrott 69de729cde build: migrate angular-in-memory-web-api to use rules_js (#61524)
Use ts_project and ng_project for building angular-in-memory-web-api

PR Close #61524
2025-05-20 16:53:20 +00:00

47 lines
1.5 KiB
JSON

/**
* 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,
"noImplicitOverride": true,
"strictNullChecks": true,
"noImplicitReturns": true,
"noPropertyAccessFromIndexSignature": true,
"esModuleInterop": true,
"strict": true,
"strictPropertyInitialization": true,
"noFallthroughCasesInSwitch": true,
"moduleResolution": "node",
"module": "esnext",
"target": "es2022",
"lib": ["es2020", "es2022", "dom", "dom.iterable"],
"skipLibCheck": true,
// don't auto-discover @types/node, it results in a ///<reference in the .d.ts output
"types": [],
"experimentalDecorators": true,
// 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,
"sourceMap": true,
"inlineSources": true,
"importHelpers": true,
"paths": {
"angular-in-memory-web-api": ["./misc/angular-in-memory-web-api/index"],
"zone.js": ["./zone.js/lib/zone"],
"@angular/*": ["./*/index"],
"@angular/common/locales/*": ["./common/locales/*"]
}
},
"bazelOptions": {
"suppressTsconfigOverrideWarnings": true
},
"angularCompilerOptions": {
"strictTemplates": true,
"typeCheckHostBindings": true
}
}