2017-08-02 22:15:30 -04: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 11:09:00 -04:00
|
|
|
"noImplicitOverride": true,
|
2017-08-02 22:15:30 -04:00
|
|
|
"strictNullChecks": true,
|
2019-06-14 03:27:41 -04:00
|
|
|
"strict": true,
|
2018-06-18 19:38:33 -04:00
|
|
|
"strictPropertyInitialization": true,
|
2017-08-02 22:15:30 -04:00
|
|
|
"noFallthroughCasesInSwitch": true,
|
|
|
|
"moduleResolution": "node",
|
|
|
|
"module": "es2015",
|
|
|
|
"target": "es2015",
|
|
|
|
"lib": ["es2015", "dom"],
|
|
|
|
"skipLibCheck": true,
|
|
|
|
// don't auto-discover @types/node, it results in a ///<reference in the .d.ts output
|
|
|
|
"types": [],
|
|
|
|
"experimentalDecorators": true,
|
2017-09-08 21:40:32 -04: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-02 22:15:30 -04:00
|
|
|
"sourceMap": true,
|
2018-03-15 21:33:52 -04:00
|
|
|
"inlineSources": true,
|
|
|
|
"importHelpers": true
|
2018-02-09 13:22:00 -05:00
|
|
|
},
|
|
|
|
"bazelOptions": {
|
2019-02-08 17:01:51 -05:00
|
|
|
"suppressTsconfigOverrideWarnings": true,
|
|
|
|
"devmodeTargetOverride": "es5"
|
2017-08-02 22:15:30 -04:00
|
|
|
}
|
|
|
|
}
|