]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
fix(types/jsx): llow tabindex to be a string (#3476)
authorbartenra <77667589+bartenra@users.noreply.github.com>
Thu, 25 Mar 2021 20:20:38 +0000 (21:20 +0100)
committerGitHub <noreply@github.com>
Thu, 25 Mar 2021 20:20:38 +0000 (16:20 -0400)
packages/runtime-dom/types/jsx.d.ts

index f070ffdc87c5f230746a2fe14ad05df2d53c0c1a..729f8f593fc5d38054a5785b596c45faa542d56c 100644 (file)
@@ -265,7 +265,7 @@ export interface HTMLAttributes extends AriaAttributes, EventHandlers<Events> {
   lang?: string
   placeholder?: string
   spellcheck?: Booleanish
-  tabindex?: number
+  tabindex?: number | string
   title?: string
   translate?: 'yes' | 'no'