diff --git a/.changeset/brown-radios-itch.md b/.changeset/brown-radios-itch.md new file mode 100644 index 0000000000..216737809a --- /dev/null +++ b/.changeset/brown-radios-itch.md @@ -0,0 +1,5 @@ +--- +'svelte': patch +--- + +fix: ensure typings for `` are picked up diff --git a/packages/svelte/svelte-html.d.ts b/packages/svelte/svelte-html.d.ts index 614d1fb3bc..50f7c25fc2 100644 --- a/packages/svelte/svelte-html.d.ts +++ b/packages/svelte/svelte-html.d.ts @@ -243,8 +243,8 @@ declare global { 'svelte:body': HTMLProps<'svelte:body', HTMLAttributes>; 'svelte:document': HTMLProps<'svelte:document', HTMLAttributes>; 'svelte:fragment': { slot?: string }; - 'svelte:options': HTMLProps<'svelte:options', HTMLAttributes>; 'svelte:head': { [name: string]: any }; + // don't type svelte:options, it would override the types in svelte/elements and it isn't extendable anyway [name: string]: { [name: string]: any }; }