mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
b302797de4
Type inference in cases involving `ControlConfig` was previously not working as desired. This was because the compiler was enforcing that `ControlConfig` is a *tuple* -- which is not always that easy to prove! By relaxing this constraint a bit, and just inferring from `ControlConfig` as an array, the type inference catches many more cases, and is generally more correct. PR Close #47034