Skip to content

Commit 93949ed

Browse files
committed
types: relax OptionHTMLAttributes.value type requirement
fix #4574
1 parent 8370118 commit 93949ed

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
@@ -584,7 +584,7 @@ export interface OptionHTMLAttributes extends HTMLAttributes {
584584
disabled?: Booleanish
585585
label?: string
586586
selected?: Booleanish
587-
value?: string | string[] | number
587+
value?: any // we support :value to be bound to anything w/ v-model
588588
}
589589

590590
export interface OutputHTMLAttributes extends HTMLAttributes {

0 commit comments

Comments
 (0)