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

(