mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 03:29:59 +08:00
fix(Form): improve method onFieldsChange params type defs (#16577)
This commit is contained in:
parent
c598b364dd
commit
a19a500970
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user