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
|
export type TRestProps<T> = T extends SupportedElement
|
||||||
? Omit<
|
? Omit<
|
||||||
svelte.JSX.HTMLAttributes<HTMLElementTagNameMap[T]>,
|
svelteHTML.IntrinsicElements[T],
|
||||||
"class" | "style"
|
"class" | "style"
|
||||||
>
|
>
|
||||||
: {};
|
: {};
|
||||||
|
|||||||
Reference in New Issue
Block a user