angular/packages/language-service/test/legacy
Kristiyan Kostadinov 981c28c15f refactor(compiler-cli): do not emit signal unwrap calls in versions older than 17.2 (#54423)
In order to allow both signals and non-signals in two-way bindings, we have to pass the expression through `ɵunwrapWritableSignal`. The problem is that the language service uses a bundled compiler that is fairly new, but it may be compiling an older version of Angular that doesn't expose `ɵunwrapWritableSignal` (see https://github.com/angular/vscode-ng-language-service/issues/2001).

These changes add a `_angularCoreVersion` flag to the compiler which the language service can use to pass the parsed Angular version to the compiler which can then decide whether to emit the function.

PR Close #54423
2024-02-13 15:53:42 -08:00
..
project refactor: delete the View Engine runtime (#43884) 2021-11-23 21:10:06 +00:00
BUILD.bazel
compiler_factory_spec.ts refactor: update language-service package and tests to work with ESM (#48521) 2022-12-19 19:50:44 +00:00
definitions_spec.ts refactor: migrate common to prettier formatting (#54150) 2024-01-30 16:08:07 +00:00
diagnostic_spec.ts
language_service_spec.ts refactor(compiler-cli): do not emit signal unwrap calls in versions older than 17.2 (#54423) 2024-02-13 15:53:42 -08:00
mock_host.ts build: align with internal tsconfig options (#51728) 2023-09-12 11:39:42 -07:00
mock_host_spec.ts refactor: update language-service package and tests to work with ESM (#48521) 2022-12-19 19:50:44 +00:00
template_target_spec.ts refactor(language-service): Prepare to support blocks in the langauge service (#52038) 2023-10-05 14:35:00 -07:00
test_utils.ts feat(core): add support for TypeScript 5.0 (#49126) 2023-02-28 08:24:47 -08:00
ts_plugin_spec.ts fix(language-service): Prevent TSServer from removing templates from project (#45965) 2022-05-12 09:25:18 -07:00
type_definitions_spec.ts feat(core): support TypeScript 5.2 (#51334) 2023-08-18 07:55:16 -07:00