ts 错误

Change-Id: I5f2c067e7c42416c1a92eda0e0e077c1fdd9627b
This commit is contained in:
2betop 2020-11-17 11:22:36 +08:00
parent 41856182a5
commit b3ee6129a0

View File

@ -673,7 +673,11 @@ class SchemaRenderer extends React.Component<SchemaRendererProps, any> {
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 <T extends React.ComponentType<RendererProps>>(Component: T) {
type Props = Omit<