From 51a11bbe638d86dc975c63ba01bda5954b7d51dc Mon Sep 17 00:00:00 2001 From: Tom Xu Date: Wed, 15 Apr 2020 19:42:27 +0800 Subject: [PATCH] #ant-design/ant-design/issues/22923 --- src/Field.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Field.tsx b/src/Field.tsx index 061654c7..893d4f60 100644 --- a/src/Field.tsx +++ b/src/Field.tsx @@ -27,7 +27,7 @@ import { } from './utils/valueUtil'; export type ShouldUpdate = - | true + | boolean | ((prevValues: Store, nextValues: Store, info: { source?: string }) => boolean); function requireUpdate(