Suppress the safe navigation extended diagnostics
ProprietarySets the nullishCoalescingNotNullable and optionalChainNotNullable extended diagnostics to suppress in angularCompilerOptions in tsconfig.json. Angular 22 narrows types across safe navigation and nullish coalescing in templates, which makes both diagnostics fire on templates that previously compiled cleanly.
org. openrewrite. angular. migration. suppress-safe-navigation-diagnosticsmod run . --recipe= org. openrewrite. angular. migration. suppress-safe-navigation-diagnosticsInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.