From a86c9c215ecf289cf6a82dd04919f19a7df05fe8 Mon Sep 17 00:00:00 2001 From: Labhansh Agrawal Date: Fri, 29 May 2020 09:30:52 +0530 Subject: [PATCH] Fix ts error --- lib/utils/plugins.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/utils/plugins.ts b/lib/utils/plugins.ts index 1512a788..55c8bf5c 100644 --- a/lib/utils/plugins.ts +++ b/lib/utils/plugins.ts @@ -64,7 +64,9 @@ let reducersDecorators: { }; // expose decorated component instance to the higher-order components -function exposeDecorated

(Component_: React.ComponentType

): React.ComponentClass { +function exposeDecorated

>( + Component_: React.ComponentType

+): React.ComponentClass { return class DecoratedComponent extends React.Component

{ constructor(props: P, context: any) { super(props, context);