fix(forms): typed argument for FormBuilder group (#26985)

PR Close #26985
This commit is contained in:
cexbrayat
2018-11-07 20:38:07 +01:00
committed by Alex Rickabaugh
parent 2a35471abe
commit b0c75611d6
2 changed files with 23 additions and 14 deletions

View File

@ -205,7 +205,7 @@ export declare class FormBuilder {
control(formState: any, validatorOrOpts?: ValidatorFn | ValidatorFn[] | AbstractControlOptions | null, asyncValidator?: AsyncValidatorFn | AsyncValidatorFn[] | null): FormControl;
group(controlsConfig: {
[key: string]: any;
}, legacyOrOpts?: {
}, options?: AbstractControlOptions | {
[key: string]: any;
} | null): FormGroup;
}