mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
When defer blocks have a reference-based trigger without a parameter, we infer it from the placeholder block. This requires some validations like ensuring that there's only one element in the placeholder. The validations are currently implemented at the parser level which can affect tools like linters that need to pass `preserveWhitespaces: true` in order to get accurate source mappings. These changes move the validations into the template type checker so that they still get flagged, but much later in the process. Moving them over involves a bit more work, because the template type checker also sets `preserveWhitespaces: true`. Fixes #61725. PR Close #61747 |
||
|---|---|---|
| .. | ||
| compiler_options.api.md | ||
| error_code.api.md | ||
| extended_template_diagnostic_name.api.md | ||