Skip to content

Commit

Permalink
types(runtime-dom): fix jsx type for IDE v-model inference
Browse files Browse the repository at this point in the history
fix #4321
  • Loading branch information
yyx990803 committed Aug 16, 2021
1 parent 516d464 commit 77223df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/runtime-dom/types/jsx.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ export interface InputHTMLAttributes extends HTMLAttributes {
autocomplete?: string
autofocus?: Booleanish
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
disabled?: Booleanish
form?: string
Expand All @@ -480,7 +480,7 @@ export interface InputHTMLAttributes extends HTMLAttributes {
src?: string
step?: Numberish
type?: string
value?: string | string[] | number
value?: any // we support :value to be bound to anything w/ v-model
width?: Numberish
}

Expand Down

0 comments on commit 77223df

Please sign in to comment.