diff --git a/src/runtime/internal/Component.ts b/src/runtime/internal/Component.ts index 3e48010547..8c3f465c17 100644 --- a/src/runtime/internal/Component.ts +++ b/src/runtime/internal/Component.ts @@ -180,7 +180,7 @@ export let SvelteElement; if (typeof HTMLElement === 'function') { SvelteElement = class extends HTMLElement { $$: T$$; - $$set?: ($$props: any) => void; + $$set?: ($$props: any) => Promise; constructor() { super(); this.attachShadow({ mode: 'open' });