Skip to content

Commit a5d5116

Browse files
committed
allow undefined in styleValue
1 parent e5a75f9 commit a5d5116

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/runtime-dom/types/jsx.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ interface AriaAttributes {
235235
}
236236

237237
// Vue's style normalization supports nested arrays
238-
export type StyleValue = string | CSSProperties | Array<StyleValue>
238+
export type StyleValue = undefined | string | CSSProperties | Array<StyleValue>
239239

240240
export interface HTMLAttributes extends AriaAttributes, EventHandlers<Events> {
241241
innerHTML?: string

0 commit comments

Comments
 (0)