mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
8634611e37
If a template declares a reference to a missing target then referring to that reference from elsewhere in the template would crash the template type checker, due to a regression introduced in #38618. This commit fixes the crash by ensuring that the invalid reference will resolve to a variable of type any. Fixes #39744 PR Close #39805