fix(types): type VNodeChildren should allow type number (#13067)

close #12973
This commit is contained in:
xonx 2023-12-07 11:29:43 +05:30 committed by GitHub
parent 6d857f5bee
commit 24fcf69624
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
types/vnode.d.ts vendored
View File

@ -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