Skip to content

Commit 5c459f0

Browse files
authored
fix(types): allow symbol & boolean for vnode key (#11914)
1 parent 6ec33f7 commit 5c459f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/vnode.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export interface VNode {
2020
elm?: Node;
2121
ns?: string;
2222
context?: Vue;
23-
key?: string | number;
23+
key?: string | number | symbol | boolean;
2424
componentOptions?: VNodeComponentOptions;
2525
componentInstance?: Vue;
2626
parent?: VNode;

0 commit comments

Comments
 (0)