From 5c459f0fd6911daca09ad205aecf5423a9d05698 Mon Sep 17 00:00:00 2001 From: Zen Date: Wed, 7 Apr 2021 17:37:53 +0800 Subject: [PATCH] fix(types): allow symbol & boolean for vnode key (#11914) --- types/vnode.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/vnode.d.ts b/types/vnode.d.ts index 04b058cb..997980ce 100644 --- a/types/vnode.d.ts +++ b/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;