Skip to content

Commit d9e7db3

Browse files
Andrew Mayorovvvakame
Andrew Mayorov
authored andcommitted
$animate.enabled() is also callable w/o params (DefinitelyTyped#9961)
* $animate.enabled() is also callable w/o params * Removed one overload in favour for optional parameter.
1 parent 3d8bb21 commit d9e7db3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

angularjs/angular-animate.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ declare namespace angular.animate {
6969
* @param value If provided then set the animation on or off.
7070
* @returns current animation state
7171
*/
72+
enabled(value?: boolean): boolean;
7273
enabled(element: JQuery, value?: boolean): boolean;
73-
enabled(value: boolean): boolean;
7474

7575
/**
7676
* Cancels the provided animation.

0 commit comments

Comments
 (0)