From df4413992a4d9fe3ea5d12113394fc464324e0d3 Mon Sep 17 00:00:00 2001 From: Adi Dahiya Date: Wed, 8 Oct 2014 00:06:13 -0400 Subject: [PATCH] Add return type to cancel fn in $animate --- angularjs/angular-animate.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/angularjs/angular-animate.d.ts b/angularjs/angular-animate.d.ts index e3801218b..8bdb6500e 100644 --- a/angularjs/angular-animate.d.ts +++ b/angularjs/angular-animate.d.ts @@ -89,7 +89,7 @@ declare module ng.animate { /** * Cancels the provided animation. */ - cancel(animationPromise: ng.IPromise); + cancel(animationPromise: ng.IPromise): void; } ///////////////////////////////////////////////////////////////////////////