From 0b9a5e3e5c65bbc2f7c77cd3cf9164005483cd1d Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Tue, 29 Jun 2021 16:10:32 -0400 Subject: [PATCH 1/2] fix interface --- core/src/utils/animation/animation-interface.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/utils/animation/animation-interface.ts b/core/src/utils/animation/animation-interface.ts index 00c50d50998..9e838b696c0 100644 --- a/core/src/utils/animation/animation-interface.ts +++ b/core/src/utils/animation/animation-interface.ts @@ -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; From 2238c4c23458a3ef1343261045dbfa97d0354d58 Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Tue, 29 Jun 2021 16:23:45 -0400 Subject: [PATCH 2/2] fix interface --- core/src/utils/animation/animation-interface.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/utils/animation/animation-interface.ts b/core/src/utils/animation/animation-interface.ts index 9e838b696c0..6c58d3681c4 100644 --- a/core/src/utils/animation/animation-interface.ts +++ b/core/src/utils/animation/animation-interface.ts @@ -29,7 +29,7 @@ export interface Animation { */ destroy(clearStyleSheets?: boolean): void; - progressStart(forceLinearEasing: boolean, step?: number): Animation; + progressStart(forceLinearEasing?: boolean, step?: number): Animation; progressStep(step: number): Animation; progressEnd(playTo: 0 | 1 | undefined, step: number, dur?: number): Animation;