mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
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 |
||
|---|---|---|
| .. | ||
| project | ||
| BUILD.bazel | ||
| compiler_factory_spec.ts | ||
| definitions_spec.ts | ||
| diagnostic_spec.ts | ||
| language_service_spec.ts | ||
| mock_host.ts | ||
| mock_host_spec.ts | ||
| template_target_spec.ts | ||
| test_utils.ts | ||
| ts_plugin_spec.ts | ||
| type_definitions_spec.ts | ||