From 10a2efe688c22b629fdfff73c3b8613b2a59058f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?kiner-tang=28=E6=96=87=E8=BE=89=29?= <1127031143@qq.com> Date: Sun, 2 Jul 2023 14:41:38 +0800 Subject: [PATCH] fix: setFieldsValue bug with union type of Array and null (#599) --- src/interface.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interface.ts b/src/interface.ts index d00582f4..575d468c 100644 --- a/src/interface.ts +++ b/src/interface.ts @@ -240,7 +240,7 @@ type RecursivePartial = NonNullable extends object ? RecursivePartial : T[P]; } - : any; + : T; export interface FormInstance { // Origin Form API