mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 12:56:46 +08:00
Add return type to cancel fn in $animate
This commit is contained in:
2
angularjs/angular-animate.d.ts
vendored
2
angularjs/angular-animate.d.ts
vendored
@@ -89,7 +89,7 @@ declare module ng.animate {
|
||||
/**
|
||||
* Cancels the provided animation.
|
||||
*/
|
||||
cancel(animationPromise: ng.IPromise<void>);
|
||||
cancel(animationPromise: ng.IPromise<void>): void;
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user