Skip to content
This repository has been archived by the owner on Apr 29, 2023. It is now read-only.

WIP: Only way found to fix nasty erros on TS build. #92

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ interface LinkProps {
to: string;
location?: Location;
}
export function Link(props: LinkProps): VNode<LinkProps>;
export function Link(props: LinkProps): VNode<LinkProps> | any;

/** Route */
interface Match<P> {
Expand All @@ -28,7 +28,7 @@ interface RouteProps<P> {

export function Route<P>(
props: RouteProps<P>
): VNode<RenderProps<P>> | void;
): VNode<RenderProps<P>> | any;

/**Switch */
export function Switch<P>(
Expand Down