mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
917b9bdd2e
Fixes that a query like `viewChild('locator', {read: ElementRef<HTMLElement>})` would throw because we didn't account for expressions with type parameters.
I've also included support for parenthesized expressions and `as` expressions since it's pretty easy to support them.
Fixes #54645.
PR Close #54647