mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
8e54b5773f
These helpers are often imported by various tests throughout the repository, but the helpers aren't exported/exposed from the public entry-point; even though they confusingly reside in there. This commit fixes this, and moves the helpers into `packages/private/testing`. This is a preparation for the `ts_project` migration where we don't want to leverage deep imports between packages. PR Close #61571
44 lines
1.4 KiB
JSON
44 lines
1.4 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", "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
|
|
}
|
|
}
|