From 4f10c83d32ba5d289866093b7d3b514f3c540a3f Mon Sep 17 00:00:00 2001 From: Simon H <5968653+dummdidumm@users.noreply.github.com> Date: Mon, 9 Sep 2024 20:40:58 +0200 Subject: [PATCH] fix: make custom element tag optional in typings (#13172) Was missing from #12754 where we made the tag optional fixes #13161 --- packages/svelte/elements.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/svelte/elements.d.ts b/packages/svelte/elements.d.ts index ab7f396205..e4f86eee74 100644 --- a/packages/svelte/elements.d.ts +++ b/packages/svelte/elements.d.ts @@ -1934,7 +1934,7 @@ export interface SvelteHTMLElements { | string | undefined | { - tag: string; + tag?: string; shadow?: 'open' | 'none' | undefined; props?: | Record<