From 3c55a1d884e3ee6c04c26182237c3a127390bd3c Mon Sep 17 00:00:00 2001 From: Jannis Mattheis Date: Sat, 28 Sep 2019 16:55:22 +0200 Subject: [PATCH] Suppress type error (for now) From what I see it should be correct. --- ui/src/inject.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/src/inject.tsx b/ui/src/inject.tsx index a8b68fc..d25fc9f 100644 --- a/ui/src/inject.tsx +++ b/ui/src/inject.tsx @@ -27,7 +27,8 @@ export const inject = (...stores: I[]) => { return

( node: React.ComponentType

): React.ComponentType>> => { - return mobxInject(...stores)(node); + // tslint:disable-next-line:no-any + return mobxInject(...stores)(node) as any; }; };