diff --git a/packages/runtime-dom/types/jsx.d.ts b/packages/runtime-dom/types/jsx.d.ts index 8a2b17f0..f070ffdc 100644 --- a/packages/runtime-dom/types/jsx.d.ts +++ b/packages/runtime-dom/types/jsx.d.ts @@ -245,11 +245,14 @@ interface AriaAttributes { 'aria-valuetext'?: string } +// Vue's style normalization supports nested arrays +type StyleValue = string | CSSProperties | Array + export interface HTMLAttributes extends AriaAttributes, EventHandlers { innerHTML?: string class?: any - style?: string | CSSProperties + style?: StyleValue // Standard HTML Attributes accesskey?: string