mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
fix(animation): typescript interface has correct return value for progress methods (#23536)
This commit is contained in:
@ -29,9 +29,9 @@ export interface Animation {
|
|||||||
*/
|
*/
|
||||||
destroy(clearStyleSheets?: boolean): void;
|
destroy(clearStyleSheets?: boolean): void;
|
||||||
|
|
||||||
progressStart(forceLinearEasing: boolean, step?: number): void;
|
progressStart(forceLinearEasing?: boolean, step?: number): Animation;
|
||||||
progressStep(step: number): void;
|
progressStep(step: number): Animation;
|
||||||
progressEnd(playTo: 0 | 1 | undefined, step: number, dur?: number): void;
|
progressEnd(playTo: 0 | 1 | undefined, step: number, dur?: number): Animation;
|
||||||
|
|
||||||
from(property: string, value: any): Animation;
|
from(property: string, value: any): Animation;
|
||||||
to(property: string, value: any): Animation;
|
to(property: string, value: any): Animation;
|
||||||
|
Reference in New Issue
Block a user