fix: ensure typings for `<svelte:options>` are picked up (#12902)

Fixes #12886
pull/12990/head
Simon H 1 year ago committed by GitHub
parent 1a9727df1c
commit 5ec4409fb2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -0,0 +1,5 @@
---
'svelte': patch
---
fix: ensure typings for `<svelte:options>` are picked up

@ -243,8 +243,8 @@ declare global {
'svelte:body': HTMLProps<'svelte:body', HTMLAttributes>; 'svelte:body': HTMLProps<'svelte:body', HTMLAttributes>;
'svelte:document': HTMLProps<'svelte:document', HTMLAttributes>; 'svelte:document': HTMLProps<'svelte:document', HTMLAttributes>;
'svelte:fragment': { slot?: string }; 'svelte:fragment': { slot?: string };
'svelte:options': HTMLProps<'svelte:options', HTMLAttributes>;
'svelte:head': { [name: string]: any }; '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 }; [name: string]: { [name: string]: any };
} }

Loading…
Cancel
Save