Skip to content

Commit 24fcf69

Browse files
authored
fix(types): type VNodeChildren should allow type number (#13067)
close #12973
1 parent 6d857f5 commit 24fcf69

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

types/vnode.d.ts

+2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ type ScopedSlotReturnValue =
2222
| VNode
2323
| string
2424
| boolean
25+
| number
2526
| null
2627
| undefined
2728
| ScopedSlotReturnArray
@@ -37,6 +38,7 @@ export type VNodeChildren =
3738
| [ScopedSlot]
3839
| string
3940
| boolean
41+
| number
4042
| null
4143
| undefined
4244
export interface VNodeChildrenArrayContents

0 commit comments

Comments
 (0)