Skip to content

Commit

Permalink
fix(animation): add correct onFinish interface parameters (#19199)
Browse files Browse the repository at this point in the history
  • Loading branch information
liamdebeasi authored Sep 3, 2019
1 parent 07140cf commit a81653b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/utils/animation/animation-interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export interface Animation {
beforeRemoveClass(className: string | string[] | undefined): Animation;
beforeAddClass(className: string | string[] | undefined): Animation;

onFinish(callback: any): Animation;
onFinish(callback: (didComplete: boolean, animation: Animation) => void, opts?: AnimationOnFinishOptions): Animation;
clearOnFinish(): Animation;
}

Expand Down

0 comments on commit a81653b

Please sign in to comment.