diff --git a/.changeset/wise-jobs-admire.md b/.changeset/wise-jobs-admire.md new file mode 100644 index 0000000000..004cd9f833 --- /dev/null +++ b/.changeset/wise-jobs-admire.md @@ -0,0 +1,5 @@ +--- +"svelte": patch +--- + +fix: Add missing `miter-clip` and `arcs` values to `stroke-linejoin` attribute diff --git a/packages/svelte/elements.d.ts b/packages/svelte/elements.d.ts index b71e8e6728..1945ec973c 100644 --- a/packages/svelte/elements.d.ts +++ b/packages/svelte/elements.d.ts @@ -1639,7 +1639,15 @@ export interface SVGAttributes extends AriaAttributes, DO 'stroke-dasharray'?: string | number | undefined | null; 'stroke-dashoffset'?: string | number | undefined | null; 'stroke-linecap'?: 'butt' | 'round' | 'square' | 'inherit' | undefined | null; - 'stroke-linejoin'?: 'miter' | 'round' | 'bevel' | 'inherit' | undefined | null; + 'stroke-linejoin'?: + | 'arcs' + | 'miter-clip' + | 'miter' + | 'round' + | 'bevel' + | 'inherit' + | undefined + | null; 'stroke-miterlimit'?: string | undefined | null; 'stroke-opacity'?: number | string | undefined | null; 'stroke-width'?: number | string | undefined | null;