From 050ff23b55cda25f4464e8ae3aa772b5c86b297d Mon Sep 17 00:00:00 2001 From: Christoph Sanz <22081130+christophsanz@users.noreply.github.com> Date: Wed, 4 Jun 2025 11:58:08 +0200 Subject: [PATCH] Add `xmlns` attribute to HTMLAttributes type The `xmlns` attribute is not only allowed on SVG elements, but on all HTML elements. --- packages/svelte/elements.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/svelte/elements.d.ts b/packages/svelte/elements.d.ts index 7a7889ad9e..f05a7145b3 100644 --- a/packages/svelte/elements.d.ts +++ b/packages/svelte/elements.d.ts @@ -773,6 +773,7 @@ export interface HTMLAttributes extends AriaAttributes, D inert?: boolean | undefined | null; popover?: 'auto' | 'manual' | '' | undefined | null; writingsuggestions?: Booleanish | undefined | null; + xmlns?: string | undefined | null; // Unknown radiogroup?: string | undefined | null; // ,