Skip to content

Commit f834b6e

Browse files
authored
fix: Add miter-clip and arcs to stroke-linejoin attribute (#10377)
#10141 for svelte 4
1 parent 2cc2510 commit f834b6e

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.changeset/nine-bags-thank.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 `miter-clip` and `arcs` to `stroke-linejoin` attribute

packages/svelte/elements.d.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1403,7 +1403,15 @@ export interface SVGAttributes<T extends EventTarget> extends AriaAttributes, DO
14031403
'stroke-dasharray'?: string | number | undefined | null;
14041404
'stroke-dashoffset'?: string | number | undefined | null;
14051405
'stroke-linecap'?: 'butt' | 'round' | 'square' | 'inherit' | undefined | null;
1406-
'stroke-linejoin'?: 'miter' | 'round' | 'bevel' | 'inherit' | undefined | null;
1406+
'stroke-linejoin'?:
1407+
| 'arcs'
1408+
| 'miter-clip'
1409+
| 'miter'
1410+
| 'round'
1411+
| 'bevel'
1412+
| 'inherit'
1413+
| undefined
1414+
| null;
14071415
'stroke-miterlimit'?: string | undefined | null;
14081416
'stroke-opacity'?: number | string | undefined | null;
14091417
'stroke-width'?: number | string | undefined | null;

0 commit comments

Comments
 (0)