]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
fix(types): add `Set<any>` to checkbox binding type for v-model (#5713)
authorSpencer McWilliams <spencer.mcw@gmail.com>
Fri, 13 May 2022 08:23:33 +0000 (01:23 -0700)
committerGitHub <noreply@github.com>
Fri, 13 May 2022 08:23:33 +0000 (04:23 -0400)
packages/runtime-dom/types/jsx.d.ts

index 7a00888f6f870d3ef6061ed3a79dfe4148308d0a..ee4f57afd9ac535768ccc3ee312322424f4299e6 100644 (file)
@@ -457,7 +457,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 | any[] // for IDE v-model multi-checkbox support
+  checked?: Booleanish | any[] | Set<any> // for IDE v-model multi-checkbox support
   crossorigin?: string
   disabled?: Booleanish
   form?: string