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