revert: fix: public API golden files (#16414)

This reverts commit dcaa11a88b.
This commit is contained in:
Matias Niemelä
2017-05-04 15:00:09 -07:00
parent 4a0e93b03b
commit 5f6d0f2340

View File

@ -532,8 +532,8 @@ export interface ValidatorFn {
/** @stable */
export declare class Validators {
static compose(validators: (ValidatorFn | null | undefined)[]): ValidatorFn | null;
static compose(validators: null): null;
static compose(validators: (ValidatorFn | null | undefined)[]): ValidatorFn | null;
static composeAsync(validators: (AsyncValidatorFn | null)[]): AsyncValidatorFn | null;
static email(control: AbstractControl): ValidationErrors | null;
static maxLength(maxLength: number): ValidatorFn;