File tree Expand file tree Collapse file tree 2 files changed +5
-12
lines changed Expand file tree Collapse file tree 2 files changed +5
-12
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' svelte ' : patch
3+ ---
4+
5+ fix: allow instrinsic ` <svelte:...> ` elements to inherit from ` SvelteHTMLElements `
Original file line number Diff line number Diff line change @@ -239,18 +239,6 @@ declare global {
239239 use : HTMLProps < 'use' , SVGAttributes > ;
240240 view : HTMLProps < 'view' , SVGAttributes > ;
241241
242- // Svelte specific
243- 'svelte:window' : HTMLProps < 'svelte:window' , HTMLAttributes > ;
244- 'svelte:body' : HTMLProps < 'svelte:body' , HTMLAttributes > ;
245- 'svelte:document' : HTMLProps < 'svelte:document' , HTMLAttributes > ;
246- 'svelte:fragment' : { slot ?: string } ;
247- 'svelte:head' : { [ name : string ] : any } ;
248- 'svelte:boundary' : {
249- onerror ?: ( error : unknown , reset : ( ) => void ) => void ;
250- failed ?: import ( 'svelte' ) . Snippet < [ error : unknown, reset : ( ) => void ] > ;
251- } ;
252- // don't type svelte:options, it would override the types in svelte/elements and it isn't extendable anyway
253-
254242 [ name : string ] : { [ name : string ] : any } ;
255243 }
256244 }
You can’t perform that action at this time.
0 commit comments