revert: fix(forms): temp roll back breaking change with min/max directives
This reverts commit 232bd9395d
.
This commit is contained in:
16
tools/public_api_guard/forms/forms.d.ts
vendored
16
tools/public_api_guard/forms/forms.d.ts
vendored
@ -352,6 +352,14 @@ export declare class MaxLengthValidator implements Validator, OnChanges {
|
||||
validate(c: AbstractControl): ValidationErrors | null;
|
||||
}
|
||||
|
||||
/** @experimental */
|
||||
export declare class MaxValidator implements Validator, OnChanges {
|
||||
max: string;
|
||||
ngOnChanges(changes: SimpleChanges): void;
|
||||
registerOnValidatorChange(fn: () => void): void;
|
||||
validate(c: AbstractControl): ValidationErrors | null;
|
||||
}
|
||||
|
||||
/** @stable */
|
||||
export declare class MinLengthValidator implements Validator, OnChanges {
|
||||
minlength: string;
|
||||
@ -360,6 +368,14 @@ export declare class MinLengthValidator implements Validator, OnChanges {
|
||||
validate(c: AbstractControl): ValidationErrors | null;
|
||||
}
|
||||
|
||||
/** @experimental */
|
||||
export declare class MinValidator implements Validator, OnChanges {
|
||||
min: string;
|
||||
ngOnChanges(changes: SimpleChanges): void;
|
||||
registerOnValidatorChange(fn: () => void): void;
|
||||
validate(c: AbstractControl): ValidationErrors | null;
|
||||
}
|
||||
|
||||
/** @stable */
|
||||
export declare const NG_ASYNC_VALIDATORS: InjectionToken<(Function | Validator)[]>;
|
||||
|
||||
|
Reference in New Issue
Block a user