From f3d6abbc1beeafe3b5e7f473d70d0b8ef4c79bc8 Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Tue, 29 Jun 2021 16:36:51 -0400 Subject: [PATCH] fix(animation): typescript interface has correct return value for progress methods (#23536) --- 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 00c50d5099..6c58d3681c 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;