You can declare a new ValidatorFn type as follows: type ValidatorFn = (c: FormControl) => { [key: string]: any }| null Here, { [key: string]: any } means an ...
確定! 回上一頁