From 455bf06f0a42a41557d77f07a3bef49b91950f1c Mon Sep 17 00:00:00 2001 From: qookie Date: Sun, 16 Oct 2016 23:35:52 +0900 Subject: [PATCH] Update velocity-animate.d.ts (#12020) --- velocity-animate/velocity-animate-tests.ts | 2 +- velocity-animate/velocity-animate.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/velocity-animate/velocity-animate-tests.ts b/velocity-animate/velocity-animate-tests.ts index afcd8b5633..1c0fea330b 100644 --- a/velocity-animate/velocity-animate-tests.ts +++ b/velocity-animate/velocity-animate-tests.ts @@ -102,7 +102,7 @@ function options_progress() { $el.velocity({ opacity: 0 }, { - progress: function(elements, percentComplete, timeRemaining, timeStart) { + progress: function(elements, percentComplete, timeRemaining, timeStart, tweenValue) { $percentComplete.html((percentComplete * 100) + "%"); $timeRemaining.html(timeRemaining + "ms remaining!"); } diff --git a/velocity-animate/velocity-animate.d.ts b/velocity-animate/velocity-animate.d.ts index 13f60d875c..bd011d64c7 100644 --- a/velocity-animate/velocity-animate.d.ts +++ b/velocity-animate/velocity-animate.d.ts @@ -23,7 +23,7 @@ declare namespace jquery.velocity { type Properties = Object; type Easing = string|number[]; type ElementCallback = (elements: NodeListOf) => void; - type ProgressCallback = (elements: NodeListOf, percentComplete: number, timeRemaining: number, timeStart: number) => void; + type ProgressCallback = (elements: NodeListOf, percentComplete: number, timeRemaining: number, timeStart: number, tweenValue: number) => void; type EffectCall = [Properties] | [Properties, number] |