We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0abb904 commit 2b0f66bCopy full SHA for 2b0f66b
src/interface.ts
@@ -204,7 +204,7 @@ export type ValuedNotifyInfo = NotifyInfo & {
204
};
205
206
export interface Callbacks<Values = any> {
207
- onValuesChange?: (changedValues: any, values: Values) => void;
+ onValuesChange?: (changedValues: Partial<Values>, values: Values) => void;
208
onFieldsChange?: (changedFields: FieldData[], allFields: FieldData[]) => void;
209
onFinish?: (values: Values) => void;
210
onFinishFailed?: (errorInfo: ValidateErrorEntity<Values>) => void;
0 commit comments