From 1c75b9ac4d2f0db5ff23a8df8f5dc44ba0e797ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Crozatier?= <48696601+fcrozatier@users.noreply.github.com> Date: Mon, 1 Apr 2024 18:48:09 +0200 Subject: [PATCH] fix: add `name` to HTMLDetailsAttributes (#11013) * add name attribute to HTMLDetailsAttributes * changeset --- .changeset/late-peaches-mate.md | 5 +++++ packages/svelte/elements.d.ts | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/late-peaches-mate.md diff --git a/.changeset/late-peaches-mate.md b/.changeset/late-peaches-mate.md new file mode 100644 index 0000000000..d3009920e4 --- /dev/null +++ b/.changeset/late-peaches-mate.md @@ -0,0 +1,5 @@ +--- +"svelte": patch +--- + +Add `name` to HTMLDetailsAttributes diff --git a/packages/svelte/elements.d.ts b/packages/svelte/elements.d.ts index 4025db4db8..0a6bcd4e78 100644 --- a/packages/svelte/elements.d.ts +++ b/packages/svelte/elements.d.ts @@ -906,6 +906,7 @@ export interface HTMLDataAttributes extends HTMLAttributes { export interface HTMLDetailsAttributes extends HTMLAttributes { open?: boolean | undefined | null; + name?: string | undefined | null; 'bind:open'?: boolean | undefined | null;