mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
ac8b5bffe4
Updates AIO to the latest v13 release-candidate version of all Angular-owned packages, such as Angular CDK and Angular Material. Applies changes needed for the v13 CLI as performed by the CLI through `ng update`: https://github.com/angular/angular-cli/tree/7ff8c5350ea2e49574dd659adae02215957d2685/packages/schematics/angular/migrations/update-13. Additionally, the web components polyfill has been removed as all browsers supported by Angular seem to support custom elements v1 natively, according to: * https://caniuse.com/custom-elementsv1 * https://www.webcomponents.org/ (scroll down to browser support) Co-authored-by: George Kalpakas <kalpakas.g@gmail.com> PR Close #43583
51 lines
1.4 KiB
JSON
51 lines
1.4 KiB
JSON
/* To learn more about this file see: https://angular.io/config/tsconfig. */
|
|
{
|
|
"compileOnSave": false,
|
|
"compilerOptions": {
|
|
"baseUrl": "src",
|
|
"outDir": "./out-tsc",
|
|
"forceConsistentCasingInFileNames": true,
|
|
"strict": true,
|
|
"noImplicitOverride": true,
|
|
// NOTE: Intentionally deviate from default Angular CLI settings
|
|
// (due to many violations and uglier syntax).
|
|
"noPropertyAccessFromIndexSignature": false,
|
|
"noImplicitReturns": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"useUnknownInCatchVariables": false,
|
|
"sourceMap": true,
|
|
"declaration": false,
|
|
"downlevelIteration": true,
|
|
"experimentalDecorators": true,
|
|
"moduleResolution": "node",
|
|
"importHelpers": true,
|
|
"target": "es2017",
|
|
"module": "es2020",
|
|
"lib": [
|
|
"es2020",
|
|
"dom"
|
|
],
|
|
"skipLibCheck": true,
|
|
// disabled because this is on by default in tsc 2.7 breaking our codebase - we need to refactor
|
|
"strictPropertyInitialization": false
|
|
},
|
|
"exclude": [
|
|
"aio-builds-setup",
|
|
"content",
|
|
"dist",
|
|
"node_modules",
|
|
"out-tsc",
|
|
"scripts",
|
|
"tools"
|
|
],
|
|
"angularCompilerOptions": {
|
|
"enableI18nLegacyMessageIdFormat": false,
|
|
"disableTypeScriptVersionCheck": true,
|
|
"strictInjectionParameters": true,
|
|
"strictInputAccessModifiers": true,
|
|
"strictTemplates": true
|
|
}
|
|
}
|