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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user