Skip to content

Commit 1a46d7a

Browse files
authored
refactor: the parameter name is somewhat misleading (#307)
1 parent e970d46 commit 1a46d7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/interface.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ export interface FormInstance<Values = any> {
227227
isFieldsValidating: (nameList: NamePath[]) => boolean;
228228
resetFields: (fields?: NamePath[]) => void;
229229
setFields: (fields: FieldData[]) => void;
230-
setFieldsValue: (value: RecursivePartial<Values>) => void;
230+
setFieldsValue: (values: RecursivePartial<Values>) => void;
231231
validateFields: ValidateFields<Values>;
232232

233233
// New API

0 commit comments

Comments
 (0)