Skip to content

Commit f4f59f1

Browse files
author
bietkul
committed
Update Typings
1 parent f694fcf commit f4f59f1

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

index.d.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -290,18 +290,18 @@ declare abstract class AbstractControl {
290290
abstract reset(value?: any, options?: Object): void;
291291
}
292292
export interface FieldProps {
293-
render: (control: FormArray|FormControl|FormGroup) => React.ReactElement<any>|React.ReactElement<any>[];
293+
render?: (control: FormArray|FormControl|FormGroup) => React.ReactElement<any>|React.ReactElement<any>[];
294294
control: AbstractControl;
295295
}
296296
export interface GroupProps {
297-
strict: boolean;
298-
render: (control: FormArray|FormControl|FormGroup) => React.ReactElement<any>|React.ReactElement<any>[];
299-
control: AbstractControl;
300-
name: string;
301-
index: number;
302-
formState: any;
303-
options: AbstractControlOptions;
304-
parent: AbstractControl;
297+
strict?: boolean;
298+
render?: (control: FormArray|FormControl|FormGroup) => React.ReactElement<any>|React.ReactElement<any>[];
299+
control?: AbstractControl;
300+
name?: string;
301+
index?: number;
302+
formState?: any;
303+
options?: AbstractControlOptions;
304+
parent?: AbstractControl;
305305
}
306306
declare module "react-reactive-form" {
307307
export class Field extends React.Component<FieldProps, any> {}

0 commit comments

Comments
 (0)