diff --git a/packages/svelte/elements.d.ts b/packages/svelte/elements.d.ts index cc5f41e49f..64b51a993f 100644 --- a/packages/svelte/elements.d.ts +++ b/packages/svelte/elements.d.ts @@ -1534,7 +1534,7 @@ export interface SVGAttributes extends AriaAttributes, DO method?: 'align' | 'stretch' | undefined | null; min?: number | string | undefined | null; name?: string | undefined | null; - style?: string | undefined | null; + style?: StyleValue | undefined | null; target?: string | undefined | null; type?: string | undefined | null; width?: number | string | undefined | null; @@ -2065,4 +2065,4 @@ export type ClassValue = string | import('clsx').ClassArray | import('clsx').Cla type StyleDictionary = Record; type StyleArray = StyleValue[]; -export type StyleValue = StyleArray | StyleDictionary | string | null | undefined; +export type StyleValue = StyleArray | StyleDictionary | string | number | null | undefined;