angular/packages/language-service/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
..
legacy refactor(compiler): remove fullTemplateTypeCheck compiler option. 2026-04-06 11:55:09 -07:00
adapters_spec.ts test(language-service): optimize language service test environment and flatten test setup 2026-03-16 14:49:34 -06:00
BUILD.bazel test(language-service): optimize language service test environment and flatten test setup 2026-03-16 14:49:34 -06:00
code_fixes_spec.ts test(language-service): optimize language service test environment and flatten test setup 2026-03-16 14:49:34 -06:00
compiler_spec.ts test(language-service): optimize language service test environment and flatten test setup 2026-03-16 14:49:34 -06:00
completions_spec.ts test(language-service): optimize language service test environment and flatten test setup 2026-03-16 14:49:34 -06:00
definitions_spec.ts test(language-service): optimize language service test environment and flatten test setup 2026-03-16 14:49:34 -06:00
diagnostic_spec.ts refactor(compiler): remove fullTemplateTypeCheck compiler option. 2026-04-06 11:55:09 -07:00
get_outlining_spans_spec.ts test(language-service): optimize language service test environment and flatten test setup 2026-03-16 14:49:34 -06:00
get_template_location_for_component_spec.ts test(language-service): optimize language service test environment and flatten test setup 2026-03-16 14:49:34 -06:00
gettcb_spec.ts test(language-service): optimize language service test environment and flatten test setup 2026-03-16 14:49:34 -06:00
inlay_hints_spec.ts test(language-service): add inlay hint regression and integration coverage 2026-03-06 10:18:28 -08:00
linked_editing_range_spec.ts test(language-service): optimize language service test environment and flatten test setup 2026-03-16 14:49:34 -06:00
quick_info_spec.ts feat(compiler): allow safe navigation to correctly narrow down nullables 2026-04-09 18:26:08 +03:00
references_and_rename_spec.ts test(language-service): optimize language service test environment and flatten test setup 2026-03-16 14:49:34 -06:00
semantic_tokens_spec.ts test(language-service): optimize language service test environment and flatten test setup 2026-03-16 14:49:34 -06:00
shared_env.ts test(language-service): optimize language service test environment and flatten test setup 2026-03-16 14:49:34 -06:00
signal_input_refactoring_action_spec.ts test(language-service): optimize language service test environment and flatten test setup 2026-03-16 14:49:34 -06:00
signal_queries_refactoring_action_spec.ts test(language-service): optimize language service test environment and flatten test setup 2026-03-16 14:49:34 -06:00
signature_help_spec.ts test(language-service): optimize language service test environment and flatten test setup 2026-03-16 14:49:34 -06:00
ts_utils_spec.ts test(language-service): optimize language service test environment and flatten test setup 2026-03-16 14:49:34 -06:00
type_definitions_spec.ts test(language-service): optimize language service test environment and flatten test setup 2026-03-16 14:49:34 -06:00
version_detection_spec.ts test(language-service): optimize language service test environment and flatten test setup 2026-03-16 14:49:34 -06:00