Skip to content

Commit

Permalink
Update packages/runtime-core/src/components/BaseTransition.ts
Browse files Browse the repository at this point in the history
Co-Authored-By: Carlos Rodrigues <david-181@hotmail.com>
  • Loading branch information
underfin and pikax committed Apr 22, 2020
1 parent 9bddf38 commit 63c8444
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/runtime-core/src/components/BaseTransition.ts
Expand Up @@ -43,7 +43,7 @@ export interface BaseTransitionProps<HostElement = RendererElement> {
onLeaveCancelled?: (el: HostElement) => void // only fired in persisted mode
}

export interface TransitionHooks<HostElement = RendererElement> {
export interface TransitionHooks<HostElement extends RendererElement = RendererElement> {
persisted: boolean
beforeEnter(el: HostElement): void
enter(el: HostElement): void
Expand Down

0 comments on commit 63c8444

Please sign in to comment.