Skip to content

Commit

Permalink
fix(animation): typescript interface has correct return value for pro…
Browse files Browse the repository at this point in the history
…gress methods (#23536)
  • Loading branch information
liamdebeasi authored Jun 29, 2021
1 parent 0b5c470 commit f3d6abb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/src/utils/animation/animation-interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ export interface Animation {
*/
destroy(clearStyleSheets?: boolean): void;

progressStart(forceLinearEasing: boolean, step?: number): void;
progressStep(step: number): void;
progressEnd(playTo: 0 | 1 | undefined, step: number, dur?: number): void;
progressStart(forceLinearEasing?: boolean, step?: number): Animation;
progressStep(step: number): Animation;
progressEnd(playTo: 0 | 1 | undefined, step: number, dur?: number): Animation;

from(property: string, value: any): Animation;
to(property: string, value: any): Animation;
Expand Down

0 comments on commit f3d6abb

Please sign in to comment.