types(runtime-dom): fix jsx type for IDE v-model inference

fix #4321
This commit is contained in:
Evan You 2021-08-16 17:13:37 -04:00
parent 516d464830
commit 77223df2d2

View File

@ -455,7 +455,7 @@ export interface InputHTMLAttributes extends HTMLAttributes {
autocomplete?: string autocomplete?: string
autofocus?: Booleanish autofocus?: Booleanish
capture?: boolean | 'user' | 'environment' // https://www.w3.org/tr/html-media-capture/#the-capture-attribute capture?: boolean | 'user' | 'environment' // https://www.w3.org/tr/html-media-capture/#the-capture-attribute
checked?: Booleanish checked?: Booleanish | any[] // for IDE v-model multi-checkbox support
crossorigin?: string crossorigin?: string
disabled?: Booleanish disabled?: Booleanish
form?: string form?: string
@ -480,7 +480,7 @@ export interface InputHTMLAttributes extends HTMLAttributes {
src?: string src?: string
step?: Numberish step?: Numberish
type?: string type?: string
value?: string | string[] | number value?: any // we support :value to be bound to anything w/ v-model
width?: Numberish width?: Numberish
} }