Skip to content

Commit 10a2efe

Browse files
authored
fix: setFieldsValue bug with union type of Array and null (#599)
1 parent e0590b6 commit 10a2efe

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
@@ -240,7 +240,7 @@ type RecursivePartial<T> = NonNullable<T> extends object
240240
? RecursivePartial<T[P]>
241241
: T[P];
242242
}
243-
: any;
243+
: T;
244244

245245
export interface FormInstance<Values = any> {
246246
// Origin Form API

0 commit comments

Comments
 (0)