angular/packages/compiler-cli/test
Matthieu Riegler 47fcbc4704 feat(compiler): allow safe navigation to correctly narrow down nullables
The commit updates the TCB for safe navigation expressions to allow for correct narrowing of nullables.

This will trigger the `nullishCoalescingNotNullable` and `optionalChainNotNullable` diagnostics on exisiting projects.
You might want to disable those 2 diagnotiscs in your `tsconfig` temporarily if you want to update your project without having to fix all the issues at once.

Narrowing can be disabled altogether with `strictSafeNavigationTyes: false`.

fixes #37619

BREAKING CHANGE: This change will trigger the `nullishCoalescingNotNullable` and `optionalChainNotNullable` diagnostics on exisiting projects.
You might want to disable those 2 diagnotiscs in your `tsconfig` temporarily.
2026-04-09 18:26:08 +03:00
..
compliance fix(compiler): handle nested brackets in host object bindings 2026-04-06 13:21:50 -07:00
ngtsc feat(compiler): allow safe navigation to correctly narrow down nullables 2026-04-09 18:26:08 +03:00
BUILD.bazel test(compiler): remove zone-based testing utilities 2026-02-05 16:56:55 -08:00
extract_i18n_spec.ts feat(core): add support for TypeScript 6 2026-02-17 08:40:38 -08:00
mocks.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
perform_compile_spec.ts feat(core): add support for TypeScript 6 2026-02-17 08:40:38 -08:00
perform_watch_spec.ts feat(core): add support for TypeScript 6 2026-02-17 08:40:38 -08:00
test_support.ts feat(core): add support for TypeScript 6 2026-02-17 08:40:38 -08:00
typescript_support_spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
version_helpers_spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00