(control: FormControl | null)
| 21 | /** Error any time control is invalid */ |
| 22 | export class MyErrorStateMatcher implements ErrorStateMatcher { |
| 23 | isErrorState(control: FormControl | null): boolean { |
| 24 | if (control) { |
| 25 | return control.invalid; |
| 26 | } |
| 27 | return false; |
| 28 | } |
| 29 | } |
| 30 | |
| 31 | type DisableDrinkOption = 'none' | 'first-middle-last' | 'all'; |
nothing calls this directly
no outgoing calls
no test coverage detected