diff --git a/packages/di/di.tsx b/packages/di/di.tsx index 3f50722a..dc702871 100644 --- a/packages/di/di.tsx +++ b/packages/di/di.tsx @@ -104,7 +104,7 @@ export interface IRegistryOptions { const registryHocMark = 'RegistryHoc' export type HOC = (WrappedComponent: ComponentType) => ComponentType -type IRegistryEntity = ComponentType | IRegistryHOC +type IRegistryEntity = ComponentType | ComponentType[] | IRegistryHOC type IRegistryComponents = Record interface IRegistryHOC extends React.FC {