From: Evan You Date: Thu, 16 Sep 2021 15:58:11 +0000 (-0400) Subject: types: relax OptionHTMLAttributes.value type requirement X-Git-Tag: v3.2.12~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=93949ed20a5a4bbe672324e8bb706479a6a9a924;p=thirdparty%2Fvuejs%2Fcore.git types: relax OptionHTMLAttributes.value type requirement fix #4574 --- diff --git a/packages/runtime-dom/types/jsx.d.ts b/packages/runtime-dom/types/jsx.d.ts index 5cd19cc88f..87580d7f20 100644 --- a/packages/runtime-dom/types/jsx.d.ts +++ b/packages/runtime-dom/types/jsx.d.ts @@ -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 {