Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(forms): type NG_VALUE_ACCESSOR injection token as array
NG_VALUE_ACCESSOR is a multi injection token, users can and should expect more than one ControlValueAccessor to be available (and this is how it is used in @angular/forms). This is now reflected in the definition of the injection token by typing it as an array of ControlValueAccessor. The motivating reason is that using the programmatic Injector api will now type Injector#get correspondingly. fixes #29351
- Loading branch information