Ran via ng update @angular/core@22 @angular/cli@22 (schematics applied automatically). TypeScript bumped 5.9.3 -> 6.0.3 as a required peer. Migrations applied: - provideHttpClient() calls gained withXhr() where HttpXhrBackend is used (app.config.ts) - optional-chaining expressions wrapped in $safeNavigationMigration() (language-selector.component.html) - nullishCoalescingNotNullable/optionalChainNotNullable extended diagnostics disabled in tsconfig.app.json/tsconfig.spec.json (matches the new stricter default the migration works around) Next: ng update @angular/cdk@22, then verify tsc/build/tests.
25 lines
648 B
JSON
25 lines
648 B
JSON
/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
|
|
/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
|
|
{
|
|
"extends": "./tsconfig.json",
|
|
"compilerOptions": {
|
|
"outDir": "./out-tsc/app",
|
|
"rootDir": "./src",
|
|
"types": []
|
|
},
|
|
"include": [
|
|
"src/**/*.ts"
|
|
],
|
|
"exclude": [
|
|
"src/**/*.spec.ts"
|
|
],
|
|
"angularCompilerOptions": {
|
|
"extendedDiagnostics": {
|
|
"checks": {
|
|
"nullishCoalescingNotNullable": "suppress",
|
|
"optionalChainNotNullable": "suppress"
|
|
}
|
|
}
|
|
}
|
|
}
|