mirror of
https://github.com/vuejs/vue.git
synced 2024-11-21 12:18:54 +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
|
||||
| string
|
||||
| boolean
|
||||
| number
|
||||
| null
|
||||
| undefined
|
||||
| ScopedSlotReturnArray
|
||||
@ -37,6 +38,7 @@ export type VNodeChildren =
|
||||
| [ScopedSlot]
|
||||
| string
|
||||
| boolean
|
||||
| number
|
||||
| null
|
||||
| undefined
|
||||
export interface VNodeChildrenArrayContents
|
||||
|
Loading…
Reference in New Issue
Block a user