diff --git a/src/types.ts b/src/types.ts index 599a568a3..f064fb81e 100644 --- a/src/types.ts +++ b/src/types.ts @@ -1,4 +1,9 @@ -import { ClassAttributes, ComponentClass, ComponentType } from 'react' +import { + ClassAttributes, + ComponentClass, + ComponentType, + FunctionComponent, +} from 'react' import { Action, AnyAction, Dispatch } from 'redux' @@ -82,7 +87,7 @@ export type GetLibraryManagedProps = JSX.LibraryManagedAttributes< export type ConnectedComponent< C extends ComponentType, P -> = ComponentType

& +> = FunctionComponent

& NonReactStatics & { WrappedComponent: C }