refactor(types): improve code readability & friendly to type hints (#1560)
This commit is contained in:
@@ -93,8 +93,7 @@ type VNodeChildAtom =
|
|||||||
| undefined
|
| undefined
|
||||||
| void
|
| void
|
||||||
|
|
||||||
export interface VNodeArrayChildren
|
export type VNodeArrayChildren = Array<VNodeArrayChildren | VNodeChildAtom>
|
||||||
extends Array<VNodeArrayChildren | VNodeChildAtom> {}
|
|
||||||
|
|
||||||
export type VNodeChild = VNodeChildAtom | VNodeArrayChildren
|
export type VNodeChild = VNodeChildAtom | VNodeArrayChildren
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user