mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
8d23b95119
Those options are enabled by default, they don't need to be explicit.
(cherry picked from commit 9cf7b44f7c)
32 lines
1.0 KiB
JSON
32 lines
1.0 KiB
JSON
/* To learn more about this file see: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
|
|
{
|
|
"compileOnSave": false,
|
|
"compilerOptions": {
|
|
"outDir": "./dist/out-tsc",
|
|
"sourceMap": true,
|
|
"declaration": false,
|
|
"experimentalDecorators": true,
|
|
"moduleResolution": "bundler",
|
|
"importHelpers": true,
|
|
"target": "es2022",
|
|
"module": "es2020",
|
|
"lib": ["es2020", "dom"],
|
|
// Strictness flags. Matching the settings applied in the Angular Components source
|
|
// code, ensuring that examples do not break in StackBlitz with stricter settings.
|
|
"noUnusedParameters": false,
|
|
"noUnusedLocals": false,
|
|
"useDefineForClassFields": false,
|
|
"noImplicitReturns": true,
|
|
"noImplicitOverride": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noImplicitAny": true,
|
|
"noImplicitThis": true,
|
|
"esModuleInterop": true
|
|
},
|
|
"angularCompilerOptions": {
|
|
"enableI18nLegacyMessageIdFormat": false,
|
|
"strictInjectionParameters": true,
|
|
"strictInputAccessModifiers": true
|
|
}
|
|
}
|