diff --git a/src/link.tsx b/src/link.tsx index b9c5a8ca5..07e7ddf92 100644 --- a/src/link.tsx +++ b/src/link.tsx @@ -17,12 +17,7 @@ export type RegisteredLinkProps = RegisterLink extends { Link: infer Link } ? | Omit, "children"> | (Omit & { - href: - | `mailto:${string}` - | `//${string}` - | `https://${string}` - | `http://${string}` - | `#${string}`; + href: string; }) : Omit; @@ -75,14 +70,6 @@ export function setLink(params: { Link: typeof Link }): void { return