diff --git a/packages/svelte/elements.d.ts b/packages/svelte/elements.d.ts index f19f36eb1d..9d7386ed85 100644 --- a/packages/svelte/elements.d.ts +++ b/packages/svelte/elements.d.ts @@ -2077,6 +2077,5 @@ export interface SvelteHTMLElements { export type ClassValue = string | import('clsx').ClassArray | import('clsx').ClassDictionary; -export type StyleDictionary = Record; -export type StyleArray = Array; -export type StyleValue = string | number | StyleDictionary | StyleArray | false | null | undefined; +type StylePrimitive = string | number | false | null | undefined; +export type StyleValue = StylePrimitive | StyleValue[] | { [key: string]: StyleValue };