Skip to content

Commit 2b60870

Browse files
author
Pick
authored
refactor(types): improve code readability & friendly to type hints (#1560)
1 parent cb6a091 commit 2b60870

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/runtime-core/src/vnode.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,7 @@ type VNodeChildAtom =
9393
| undefined
9494
| void
9595

96-
export interface VNodeArrayChildren
97-
extends Array<VNodeArrayChildren | VNodeChildAtom> {}
96+
export type VNodeArrayChildren = Array<VNodeArrayChildren | VNodeChildAtom>
9897

9998
export type VNodeChild = VNodeChildAtom | VNodeArrayChildren
10099

0 commit comments

Comments
 (0)