From c59997c13148bd84700f0a51bb5912af55848e24 Mon Sep 17 00:00:00 2001 From: Nuno Ribeiro Date: Sun, 2 Dec 2018 17:15:18 +0100 Subject: [PATCH] Only way found to fix nasty erros on TS build. --- index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.d.ts b/index.d.ts index 66672f5..ca9d475 100644 --- a/index.d.ts +++ b/index.d.ts @@ -5,7 +5,7 @@ interface LinkProps { to: string; location?: Location; } -export function Link(props: LinkProps): VNode; +export function Link(props: LinkProps): VNode | any; /** Route */ interface Match

{ @@ -28,7 +28,7 @@ interface RouteProps

{ export function Route

( props: RouteProps

-): VNode> | void; +): VNode> | any; /**Switch */ export function Switch

(