From 24fcf69624a633d43dfc0aa5fa6b93d11de7fad5 Mon Sep 17 00:00:00 2001 From: xonx <119700621+xonx4l@users.noreply.github.com> Date: Thu, 7 Dec 2023 11:29:43 +0530 Subject: [PATCH] fix(types): type VNodeChildren should allow type number (#13067) close #12973 --- types/vnode.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/vnode.d.ts b/types/vnode.d.ts index d6f23ec3b..533e61f16 100644 --- a/types/vnode.d.ts +++ b/types/vnode.d.ts @@ -22,6 +22,7 @@ type ScopedSlotReturnValue = | VNode | string | boolean + | number | null | undefined | ScopedSlotReturnArray @@ -37,6 +38,7 @@ export type VNodeChildren = | [ScopedSlot] | string | boolean + | number | null | undefined export interface VNodeChildrenArrayContents