Skip to content

Commit 4b4e08d

Browse files
committed
Switch to svelteHTML.IntrinsicElements for proper handling of additions like sveltekit:prefetch
Fixes rgossiaux#95
1 parent d3ca4e8 commit 4b4e08d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export enum Features {
2626

2727
export type TRestProps<T> = T extends SupportedElement
2828
? Omit<
29-
svelte.JSX.HTMLAttributes<HTMLElementTagNameMap[T]>,
29+
svelteHTML.IntrinsicElements[T],
3030
"class" | "style"
3131
>
3232
: {};

0 commit comments

Comments
 (0)