From a5d5116a5ac0cb1c9181991704fdf824506f3408 Mon Sep 17 00:00:00 2001 From: Yuchao Wu Date: Sat, 25 Mar 2023 16:31:17 +1100 Subject: [PATCH] allow undefined in styleValue --- packages/runtime-dom/types/jsx.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/runtime-dom/types/jsx.d.ts b/packages/runtime-dom/types/jsx.d.ts index b5e1487151e..227fcef3c21 100644 --- a/packages/runtime-dom/types/jsx.d.ts +++ b/packages/runtime-dom/types/jsx.d.ts @@ -235,7 +235,7 @@ interface AriaAttributes { } // Vue's style normalization supports nested arrays -export type StyleValue = string | CSSProperties | Array +export type StyleValue = undefined | string | CSSProperties | Array export interface HTMLAttributes extends AriaAttributes, EventHandlers { innerHTML?: string