From 07b33a13d38a6f3f28f2cb38acaac7df41ebd36d Mon Sep 17 00:00:00 2001 From: Zen Date: Mon, 15 Feb 2021 20:53:31 +0800 Subject: [PATCH] fix(types): allow symbol & boolean for vnode key --- 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 dc4470ffd84..5fb0faddf19 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;