From 8905e7d086dcf9f8488f6499d957857c8c11d372 Mon Sep 17 00:00:00 2001 From: John Feola Date: Wed, 16 Jul 2025 13:15:03 -0400 Subject: [PATCH] fix type for onValuesChange changedValues --- src/interface.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interface.ts b/src/interface.ts index fb8f0dde..c56bb3b6 100644 --- a/src/interface.ts +++ b/src/interface.ts @@ -204,7 +204,7 @@ export type ValuedNotifyInfo = NotifyInfo & { }; export interface Callbacks { - onValuesChange?: (changedValues: any, values: Values) => void; + onValuesChange?: (changedValues: Partial, values: Values) => void; onFieldsChange?: (changedFields: FieldData[], allFields: FieldData[]) => void; onFinish?: (values: Values) => void; onFinishFailed?: (errorInfo: ValidateErrorEntity) => void;