UNPKG

ngx-config-form

Version:
8 lines (7 loc) 502 B
import { AbstractControl, ValidatorFn } from '@angular/forms'; export declare class CfValidators { static confirmPassword(passwordName: string, confirmPasswordName: string): ValidatorFn; static groupRequired(...childrenNames: string[]): ValidatorFn; static pattern(errClassName: string, regExp: RegExp): (c: AbstractControl) => {}; static AsyncValidate(errClassName: string, debounce: number, fn: (v: any) => Promise<boolean>): (c: AbstractControl) => import("rxjs").Observable<any>; }