From b3ee6129a08744c3237b4c08f11e9c26a340e7ff Mon Sep 17 00:00:00 2001 From: 2betop <2betop.cn@gmail.com> Date: Tue, 17 Nov 2020 11:22:36 +0800 Subject: [PATCH] =?UTF-8?q?ts=20=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I5f2c067e7c42416c1a92eda0e0e077c1fdd9627b --- src/factory.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/factory.tsx b/src/factory.tsx index 6b3a5a649..e910f6adf 100644 --- a/src/factory.tsx +++ b/src/factory.tsx @@ -673,7 +673,11 @@ class SchemaRenderer extends React.Component { export function HocStoreFactory(renderer: { storeType: string; extendsData?: boolean; - shouldSyncSuperStore?: (store: any, props: any, prevProps: any) => boolean; + shouldSyncSuperStore?: ( + store: any, + props: any, + prevProps: any + ) => boolean | undefined; }): any { return function >(Component: T) { type Props = Omit<