Skip to content

Commit 1c75b9a

Browse files
authored
fix: add name to HTMLDetailsAttributes (#11013)
* add name attribute to HTMLDetailsAttributes * changeset
1 parent 0fa9d16 commit 1c75b9a

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/late-peaches-mate.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"svelte": patch
3+
---
4+
5+
Add `name` to HTMLDetailsAttributes

packages/svelte/elements.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -906,6 +906,7 @@ export interface HTMLDataAttributes extends HTMLAttributes<HTMLDataElement> {
906906

907907
export interface HTMLDetailsAttributes extends HTMLAttributes<HTMLDetailsElement> {
908908
open?: boolean | undefined | null;
909+
name?: string | undefined | null;
909910

910911
'bind:open'?: boolean | undefined | null;
911912

0 commit comments

Comments
 (0)