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

@@ -6,7 +6,7 @@ import {
EMPTY_ARR,
extend
} from '@vue/shared'
import { ComponentInstance, Data, SetupProxySymbol } from './component'
import { ComponentInternalInstance, Data, SetupProxySymbol } from './component'
import { HostNode } from './createRenderer'
import { RawSlots } from './componentSlots'
import { PatchFlags } from './patchFlags'
@@ -40,7 +40,7 @@ export interface VNode {
key: string | number | null
ref: string | Function | null
children: NormalizedChildren
component: ComponentInstance | null
component: ComponentInternalInstance | null
// DOM
el: HostNode | null