This commit updates the docs examples to Angular v11.2.10. See the [diff between 11.0.1 and 11.2.10 (FW) and 11.2.9 (CLI)][1]. The changes are fairly trivial including: - Removal of `emitDecoratorMetadata` from tsconfig.json files, where no JIT compilation is required. - Setting `enableI18nLegacyMessageIdFormat` to `false` for CLI based applications - the i18n example was already migrated away from legacy message IDs. [1]: https://github.com/cexbrayat/angular-cli-diff/compare/11.2.9..11.0.1 PR Close #41689
29 lines
676 B
JSON
29 lines
676 B
JSON
// This tsconfig is used in the TypeScript
|
|
// configuration guide (../guide/typescript-configuration.md)
|
|
// to display the latest default configuration
|
|
// Note: Update with every major release to the latest default
|
|
// #docregion
|
|
{
|
|
"compileOnSave": false,
|
|
"compilerOptions": {
|
|
"baseUrl": "./",
|
|
"outDir": "./dist/out-tsc",
|
|
"sourceMap": true,
|
|
"declaration": false,
|
|
"module": "esnext",
|
|
"moduleResolution": "node",
|
|
"experimentalDecorators": true,
|
|
"importHelpers": true,
|
|
"target": "es2015",
|
|
"typeRoots": [
|
|
"node_modules/@types"
|
|
],
|
|
// #docregion lib
|
|
"lib": [
|
|
"es2018",
|
|
"dom"
|
|
]
|
|
// #enddocregion lib
|
|
}
|
|
}
|