(formState: unknown)
| 441 | } |
| 442 | |
| 443 | function isFormControlState(formState: unknown): formState is FormControlState<unknown> { |
| 444 | return ( |
| 445 | typeof formState === 'object' && |
| 446 | formState !== null && |
| 447 | Object.keys(formState).length === 2 && |
| 448 | 'value' in formState && |
| 449 | 'disabled' in formState |
| 450 | ); |
| 451 | } |
| 452 | |
| 453 | export const FormControl: ɵFormControlCtor = class FormControl<TValue = any> |
| 454 | extends AbstractControl<TValue> |
no test coverage detected
searching dependent graphs…