refactor(types): improve code readability & friendly to type hints (#1560)

This commit is contained in:
Pick
2020-07-15 04:33:30 +08:00
committed by GitHub
parent cb6a0915c5
commit 2b60870f8a

View File

@@ -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