From d25a03e7d16dd7134bbf5bfddba0efe357f556e7 Mon Sep 17 00:00:00 2001 From: Sumit kumar <119700621+xonx4l@users.noreply.github.com> Date: Wed, 16 Aug 2023 22:11:50 -0700 Subject: [PATCH 1/3] 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 d6f23ec3b67..28c3c270563 100644 --- a/types/vnode.d.ts +++ b/types/vnode.d.ts @@ -37,6 +37,7 @@ export type VNodeChildren = | [ScopedSlot] | string | boolean + | number | null | undefined export interface VNodeChildrenArrayContents @@ -86,7 +87,7 @@ export interface VNodeData { staticClass?: string class?: any staticStyle?: { [key: string]: any } - style?: StyleValue + style?: StyleValue | number; props?: { [key: string]: any } attrs?: { [key: string]: any } domProps?: { [key: string]: any } From 60d3c1a4b5ffd67c46264448fb986bff8df2dfef Mon Sep 17 00:00:00 2001 From: Evan You Date: Thu, 7 Dec 2023 13:58:52 +0800 Subject: [PATCH 2/3] 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 } From 3099c879b60f6bd1dbdc0bf15010ed26580403b8 Mon Sep 17 00:00:00 2001 From: Evan You Date: Thu, 7 Dec 2023 13:59:09 +0800 Subject: [PATCH 3/3] Update vnode.d.ts --- 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 f29003c5cb5..533e61f169b 100644 --- a/types/vnode.d.ts +++ b/types/vnode.d.ts @@ -88,7 +88,7 @@ export interface VNodeData { staticClass?: string class?: any staticStyle?: { [key: string]: any } - style?: StyleValue; + style?: StyleValue props?: { [key: string]: any } attrs?: { [key: string]: any } domProps?: { [key: string]: any }