Skip to content

Commit 89c3f5c

Browse files
committed
href: string
1 parent 0ab7dc2 commit 89c3f5c

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/link.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,7 @@ export type RegisteredLinkProps = RegisterLink extends { Link: infer Link }
1717
?
1818
| Omit<UnpackProps<Link>, "children">
1919
| (Omit<HTMLAnchorProps, "children" | "href"> & {
20-
href:
21-
| `//${string}`
22-
| `https://${string}`
23-
| `http://${string}`
24-
| `#${string}`
25-
| string; // to handle mailto:mail@domain.fr or tel:0123456789 ...
20+
href: string;
2621
})
2722
: Omit<HTMLAnchorProps, "children">;
2823

0 commit comments

Comments
 (0)