InferableComponentEnhancer must be exported

This commit is contained in:
Pavel Birukov 2016-11-29 15:14:54 +02:00
parent cd6d750c0e
commit 3f003cb79a

View File

@ -21,7 +21,7 @@ declare module 'recompose' {
interface ComponentEnhancer<TInner, TOutter> {
(component: Component<TInner>): ComponentClass<TOutter>;
}
interface InferableComponentEnhancer {
export interface InferableComponentEnhancer {
<P, TComp extends (Component<P>)>(component: TComp): TComp;
}