Suppress the safe navigation extended diagnostics

Proprietary

Sets 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-diagnostics
mod run . --recipe=org.openrewrite.angular.migration.suppress-safe-navigation-diagnostics

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.