Skip to content

Commit

Permalink
fix(types): allow symbol & boolean for vnode key (#11914)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gavin-Gong committed Apr 7, 2021
1 parent 6ec33f7 commit 5c459f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/vnode.d.ts
Expand Up @@ -20,7 +20,7 @@ export interface VNode {
elm?: Node;
ns?: string;
context?: Vue;
key?: string | number;
key?: string | number | symbol | boolean;
componentOptions?: VNodeComponentOptions;
componentInstance?: Vue;
parent?: VNode;
Expand Down

0 comments on commit 5c459f0

Please sign in to comment.