]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
refactor(types): improve code readability & friendly to type hints (#1560)
authorPick <pickchen@tencent.com>
Tue, 14 Jul 2020 20:33:30 +0000 (04:33 +0800)
committerGitHub <noreply@github.com>
Tue, 14 Jul 2020 20:33:30 +0000 (16:33 -0400)
packages/runtime-core/src/vnode.ts

index 176f29ace3ec22411394246e7e2977a84824e5c4..aa87d440a04d42d25148694cf22618476508c63d 100644 (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