@internal
(controls: {
[k: string]: T | ControlConfig<T> | FormControlState<T> | AbstractControl<T>;
})
| 409 | |
| 410 | /** @internal */ |
| 411 | _reduceControls<T>(controls: { |
| 412 | [k: string]: T | ControlConfig<T> | FormControlState<T> | AbstractControl<T>; |
| 413 | }): {[key: string]: AbstractControl} { |
| 414 | const createdControls: {[key: string]: AbstractControl} = {}; |
| 415 | Object.keys(controls).forEach((controlName) => { |
| 416 | createdControls[controlName] = this._createControl(controls[controlName]); |
| 417 | }); |
| 418 | return createdControls; |
| 419 | } |
| 420 | |
| 421 | /** @internal */ |
| 422 | _createControl<T>( |
no test coverage detected