types(runtime-core): improve types for transition hook

fix #1000
This commit is contained in:
likui
2020-04-21 12:06:10 +08:00
parent 6fefeafe98
commit 9bddf3820e
2 changed files with 10 additions and 10 deletions

View File

@@ -107,7 +107,7 @@ export interface VNode<HostNode = RendererNode, HostElement = RendererElement> {
component: ComponentInternalInstance | null
suspense: SuspenseBoundary | null
dirs: DirectiveBinding[] | null
transition: TransitionHooks | null
transition: TransitionHooks<HostElement> | null
// DOM
el: HostNode | null