Skip to content

Commit

Permalink
fix(Form): improve method onFieldsChange params type defs (#16577)
Browse files Browse the repository at this point in the history
  • Loading branch information
SylvanasGone authored and zombieJ committed May 15, 2019
1 parent c598b36 commit a19a500
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/form/Form.tsx
Expand Up @@ -20,7 +20,7 @@ interface FormCreateOptionMessages {
}

export interface FormCreateOption<T> {
onFieldsChange?: (props: T, fields: object, allFields: any) => void;
onFieldsChange?: (props: T, fields: any, allFields: any) => void;
onValuesChange?: (props: T, changedValues: any, allValues: any) => void;
mapPropsToFields?: (props: T) => void;
validateMessages?: FormCreateOptionMessages;
Expand Down

0 comments on commit a19a500

Please sign in to comment.