Skip to content

Commit f7cc8cb

Browse files
lucasilebenmccannRich-Harris
authored
fix: Add missing miter-clip and arcs value to stroke-linejoin attribute (#10141)
* Add missing miter-clip and arcs attribute stroke-linejoin * format * changeset --------- Co-authored-by: Ben McCann <[email protected]> Co-authored-by: Rich Harris <[email protected]>
1 parent 0504ad5 commit f7cc8cb

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.changeset/wise-jobs-admire.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 missing `miter-clip` and `arcs` values to `stroke-linejoin` attribute

packages/svelte/elements.d.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1639,7 +1639,15 @@ export interface SVGAttributes<T extends EventTarget> extends AriaAttributes, DO
16391639
'stroke-dasharray'?: string | number | undefined | null;
16401640
'stroke-dashoffset'?: string | number | undefined | null;
16411641
'stroke-linecap'?: 'butt' | 'round' | 'square' | 'inherit' | undefined | null;
1642-
'stroke-linejoin'?: 'miter' | 'round' | 'bevel' | 'inherit' | undefined | null;
1642+
'stroke-linejoin'?:
1643+
| 'arcs'
1644+
| 'miter-clip'
1645+
| 'miter'
1646+
| 'round'
1647+
| 'bevel'
1648+
| 'inherit'
1649+
| undefined
1650+
| null;
16431651
'stroke-miterlimit'?: string | undefined | null;
16441652
'stroke-opacity'?: number | string | undefined | null;
16451653
'stroke-width'?: number | string | undefined | null;

0 commit comments

Comments
 (0)