mirror of
https://github.com/angular/angular.git
synced 2026-11-23 07:05:14 -05:00
Template type checking dropped every TypeScript diagnostic that started
at an arrow function parameter. For example, with a component method
`takes(fn: (x: number) => number)`, the template expression
`takes((value) => () => 1)` compiled without the TS2345 error that
TypeScript reports at `value`.
(cherry picked from commit 9731822b27)