(key: string, error: any)
| 24 | |
| 25 | (function () { |
| 26 | function validator(key: string, error: any): ValidatorFn { |
| 27 | return (c: AbstractControl) => { |
| 28 | const r: ValidationErrors = {}; |
| 29 | r[key] = error; |
| 30 | return r; |
| 31 | }; |
| 32 | } |
| 33 | |
| 34 | class AsyncValidatorDirective implements AsyncValidator { |
| 35 | constructor( |
no outgoing calls
no test coverage detected
searching dependent graphs…