Skip to content

Commit 57f6b7b

Browse files
committed
fix(runtime-dom) add Set<any> to checkbox
`runtime-dom` is not accounting for `Set<any>` as a valid `v-model` type for checkbox input elements when using TS. This is causing "compile-time" errors stating that `Set<any>` is an invalid `v-model` binding.
1 parent 85af139 commit 57f6b7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: packages/runtime-dom/types/jsx.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ export interface InputHTMLAttributes extends HTMLAttributes {
457457
autocomplete?: string
458458
autofocus?: Booleanish
459459
capture?: boolean | 'user' | 'environment' // https://www.w3.org/tr/html-media-capture/#the-capture-attribute
460-
checked?: Booleanish | any[] // for IDE v-model multi-checkbox support
460+
checked?: Booleanish | any[] | Set<any> // for IDE v-model multi-checkbox support
461461
crossorigin?: string
462462
disabled?: Booleanish
463463
form?: string

0 commit comments

Comments
 (0)