https://github.com/angular/angular
Raw File
Tip revision: ed41bfcad7b88ef0a151d4b90bdc7c5c495ce7d1 authored by Jessica Janiuk on 08 February 2024, 18:36:38 UTC
release: cut the v17.2.0-rc.0 release
Tip revision: ed41bfc
tsconfig-build.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",
    // Keep the below in sync with ng_module.bzl
    "useDefineForClassFields": false,
    "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
  },
  "bazelOptions": {
    "suppressTsconfigOverrideWarnings": true
  }
}
back to top