fix(transition): fix higher order transition components with merged listeners

fix #3227
This commit is contained in:
Evan You
2021-05-28 15:42:08 -04:00
parent d6607c9864
commit 071986a2c6
3 changed files with 97 additions and 30 deletions

View File

@@ -69,8 +69,8 @@ export interface TransitionHooks<
delayedLeave?(): void
}
type TransitionHookCaller = (
hook: ((el: any) => void) | undefined,
export type TransitionHookCaller = (
hook: ((el: any) => void) | Array<(el: any) => void> | undefined,
args?: any[]
) => void