fix(types): allow symbol in JSX ReservedProps.key (#4306)

This commit is contained in:
Shinigami 2021-08-11 16:42:46 +02:00 committed by GitHub
parent 00b76d3dc1
commit 6e5801f8a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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