Skip to content

Commit

Permalink
allow undefined in styleValue
Browse files Browse the repository at this point in the history
  • Loading branch information
yuwu9145 committed Mar 25, 2023
1 parent e5a75f9 commit a5d5116
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/runtime-dom/types/jsx.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ interface AriaAttributes {
}

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

export interface HTMLAttributes extends AriaAttributes, EventHandlers<Events> {
innerHTML?: string
Expand Down

0 comments on commit a5d5116

Please sign in to comment.