types: improve type exports

This commit is contained in:
Evan You
2019-09-06 12:58:31 -04:00
parent d87bed0138
commit 360f3b4f37
25 changed files with 253 additions and 204 deletions

View File

@@ -1,4 +1,4 @@
import { ComponentInstance, currentInstance } from './component'
import { ComponentInternalInstance, currentInstance } from './component'
import { VNode, NormalizedChildren, normalizeVNode, VNodeChild } from './vnode'
import { isArray, isFunction } from '@vue/shared'
import { ShapeFlags } from './shapeFlags'
@@ -31,7 +31,7 @@ const normalizeSlot = (key: string, rawSlot: Function): Slot => (
}
export function resolveSlots(
instance: ComponentInstance,
instance: ComponentInternalInstance,
children: NormalizedChildren
) {
let slots: Slots | void