順便說一下,您忽略了angular對於非同步驗證器有一個不同的介面: AsyncValidatorFn ) 嘗試1: [K in keyof T]?: [T[K] | ValidatorFn | ValidatorFn[] | null];
確定! 回上一頁