fix(types): allow symbol in JSX ReservedProps.key (#4306)
This commit is contained in:
parent
00b76d3dc1
commit
6e5801f8a8
2
packages/runtime-dom/types/jsx.d.ts
vendored
2
packages/runtime-dom/types/jsx.d.ts
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user