mirror of
https://github.com/vuejs/vue.git
synced 2024-11-22 04:39:46 +00:00
fix(types): type VNodeChildren should allow type number (#13067)
close #12973
This commit is contained in:
parent
6d857f5bee
commit
24fcf69624
2
types/vnode.d.ts
vendored
2
types/vnode.d.ts
vendored
@ -22,6 +22,7 @@ type ScopedSlotReturnValue =
|
|||||||
| VNode
|
| VNode
|
||||||
| string
|
| string
|
||||||
| boolean
|
| boolean
|
||||||
|
| number
|
||||||
| null
|
| null
|
||||||
| undefined
|
| undefined
|
||||||
| ScopedSlotReturnArray
|
| ScopedSlotReturnArray
|
||||||
@ -37,6 +38,7 @@ export type VNodeChildren =
|
|||||||
| [ScopedSlot]
|
| [ScopedSlot]
|
||||||
| string
|
| string
|
||||||
| boolean
|
| boolean
|
||||||
|
| number
|
||||||
| null
|
| null
|
||||||
| undefined
|
| undefined
|
||||||
export interface VNodeChildrenArrayContents
|
export interface VNodeChildrenArrayContents
|
||||||
|
Loading…
Reference in New Issue
Block a user