Skip to content

Commit f3d6abb

Browse files
authored
fix(animation): typescript interface has correct return value for progress methods (#23536)
1 parent 0b5c470 commit f3d6abb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

core/src/utils/animation/animation-interface.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ export interface Animation {
2929
*/
3030
destroy(clearStyleSheets?: boolean): void;
3131

32-
progressStart(forceLinearEasing: boolean, step?: number): void;
33-
progressStep(step: number): void;
34-
progressEnd(playTo: 0 | 1 | undefined, step: number, dur?: number): void;
32+
progressStart(forceLinearEasing?: boolean, step?: number): Animation;
33+
progressStep(step: number): Animation;
34+
progressEnd(playTo: 0 | 1 | undefined, step: number, dur?: number): Animation;
3535

3636
from(property: string, value: any): Animation;
3737
to(property: string, value: any): Animation;

0 commit comments

Comments
 (0)