]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
fix(types): allow symbol in JSX ReservedProps.key (#4306)
authorShinigami <chrissi92@hotmail.de>
Wed, 11 Aug 2021 14:42:46 +0000 (16:42 +0200)
committerGitHub <noreply@github.com>
Wed, 11 Aug 2021 14:42:46 +0000 (10:42 -0400)
packages/runtime-dom/types/jsx.d.ts

index 21f91b9a40a537fe5619776fad57a098807fe0aa..431541fdd3764642cc28e73f002b5c12d14950cf 100644 (file)
@@ -1305,7 +1305,7 @@ type EventHandlers<E> = {
 import * as RuntimeCore from '@vue/runtime-core'
 
 type ReservedProps = {
-  key?: string | number
+  key?: string | number | symbol
   ref?:
     | string
     | RuntimeCore.Ref