Browse Source

fix(types): allow symbol & boolean for vnode key (#11914)

dev
Zen 4 years ago
committed by GitHub
parent
commit
5c459f0fd6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      types/vnode.d.ts

2
types/vnode.d.ts

@ -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;

Loading…
Cancel
Save