mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
2e4ed8027d
Inlay hints from external templates were being incorrectly applied to TypeScript files because the compiler was processing all templates associated with components found in the TS file, regardless of whether the template was inline or external. This resulted in misplaced hints due to mismatched offsets. This change filters the templates and host bindings processed in getInlayHintsForTemplate to only include those that belong to the target file being queried. Fixes #69224