feat(transition): base transition component

This commit is contained in:
Evan You
2019-11-20 18:04:44 -05:00
parent f7009d58a3
commit 93561b080e
6 changed files with 310 additions and 31 deletions

View File

@@ -147,7 +147,7 @@ export function withDirectives<T extends VNode>(
}
export function invokeDirectiveHook(
hook: Function | Function[],
hook: ((...args: any[]) => any) | ((...args: any[]) => any)[],
instance: ComponentInternalInstance | null,
vnode: VNode,
prevVNode: VNode | null = null