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

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

fix #1000

* Update packages/runtime-core/src/components/BaseTransition.ts

Co-Authored-By: Carlos Rodrigues <david-181@hotmail.com>

* fix: run ci

Co-authored-by: Carlos Rodrigues <david-181@hotmail.com>
This commit is contained in:
Evan You
2020-06-11 16:39:18 -04:00
committed by GitHub
2 changed files with 10 additions and 10 deletions

View File

@@ -120,7 +120,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