types: relax OptionHTMLAttributes.value type requirement

fix #4574
This commit is contained in:
Evan You 2021-09-16 11:58:11 -04:00
parent 8370118c13
commit 93949ed20a

View File

@ -584,7 +584,7 @@ export interface OptionHTMLAttributes extends HTMLAttributes {
disabled?: Booleanish
label?: string
selected?: Booleanish
value?: string | string[] | number
value?: any // we support :value to be bound to anything w/ v-model
}
export interface OutputHTMLAttributes extends HTMLAttributes {