Skip to content

Commit 0bba84c

Browse files
authored
fix: add types for part attribute to svg attributes (#16499)
1 parent 8ad02e4 commit 0bba84c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/seven-colts-obey.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+
fix: add types for `part` attribute to svg attributes

packages/svelte/elements.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1553,6 +1553,7 @@ export interface SVGAttributes<T extends EventTarget> extends AriaAttributes, DO
15531553
height?: number | string | undefined | null;
15541554
id?: string | undefined | null;
15551555
lang?: string | undefined | null;
1556+
part?: string | undefined | null;
15561557
max?: number | string | undefined | null;
15571558
media?: string | undefined | null;
15581559
// On the `textPath` element

0 commit comments

Comments
 (0)