Switch to svelteHTML.IntrinsicElements for proper handling of additions like sveltekit:prefetch
Fixes #95
This commit is contained in:
@@ -26,7 +26,7 @@ export enum Features {
|
||||
|
||||
export type TRestProps<T> = T extends SupportedElement
|
||||
? Omit<
|
||||
svelte.JSX.HTMLAttributes<HTMLElementTagNameMap[T]>,
|
||||
svelteHTML.IntrinsicElements[T],
|
||||
"class" | "style"
|
||||
>
|
||||
: {};
|
||||
|
||||
Reference in New Issue
Block a user