From 60d3c1a4b5ffd67c46264448fb986bff8df2dfef Mon Sep 17 00:00:00 2001 From: Evan You Date: Thu, 7 Dec 2023 13:58:52 +0800 Subject: [PATCH] Update vnode.d.ts --- types/vnode.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/types/vnode.d.ts b/types/vnode.d.ts index 28c3c270563..f29003c5cb5 100644 --- a/types/vnode.d.ts +++ b/types/vnode.d.ts @@ -22,6 +22,7 @@ type ScopedSlotReturnValue = | VNode | string | boolean + | number | null | undefined | ScopedSlotReturnArray @@ -87,7 +88,7 @@ export interface VNodeData { staticClass?: string class?: any staticStyle?: { [key: string]: any } - style?: StyleValue | number; + style?: StyleValue; props?: { [key: string]: any } attrs?: { [key: string]: any } domProps?: { [key: string]: any }