Skip to content

Commit

Permalink
fix(types): allow symbol in JSX ReservedProps.key (#4306)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinigami92 authored Aug 11, 2021
1 parent 00b76d3 commit 6e5801f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/runtime-dom/types/jsx.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6e5801f

Please sign in to comment.