diff --git a/packages/svelte/svelte-html.d.ts b/packages/svelte/svelte-html.d.ts
index 5042eaa4b8..47e4a80087 100644
--- a/packages/svelte/svelte-html.d.ts
+++ b/packages/svelte/svelte-html.d.ts
@@ -37,8 +37,8 @@ declare global {
): Key extends keyof ElementTagNameMap
? ElementTagNameMap[Key]
: Key extends keyof SVGElementTagNameMap
- ? SVGElementTagNameMap[Key]
- : any;
+ ? SVGElementTagNameMap[Key]
+ : any;
function createElement(
// "undefined | null" because of
element: Key | undefined | null,
@@ -47,14 +47,14 @@ declare global {
): Key extends keyof ElementTagNameMap
? ElementTagNameMap[Key]
: Key extends keyof SVGElementTagNameMap
- ? SVGElementTagNameMap[Key]
- : any;
+ ? SVGElementTagNameMap[Key]
+ : any;
// For backwards-compatibility and ease-of-use, in case someone enhanced the typings from import('svelte/elements').HTMLAttributes/SVGAttributes
// eslint-disable-next-line @typescript-eslint/no-unused-vars
- interface HTMLAttributes {}
+ interface HTMLAttributes { }
// eslint-disable-next-line @typescript-eslint/no-unused-vars
- interface SVGAttributes {}
+ interface SVGAttributes { }
/**
* Avoid using this interface directly. Instead use the `SvelteHTMLElements` interface exported by `svelte/elements`
@@ -247,6 +247,7 @@ declare global {
'svelte:boundary': {
onerror?: (error: unknown, reset: () => void) => void;
failed?: import('svelte').Snippet<[error: unknown, reset: () => void]>;
+ pending?: import('svelte').Snippet;
};
// don't type svelte:options, it would override the types in svelte/elements and it isn't extendable anyway