mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Add return type to register fn in $animateProvider
This commit is contained in:
parent
e00a5588ee
commit
05432c972c
2
angularjs/angular-animate.d.ts
vendored
2
angularjs/angular-animate.d.ts
vendored
@ -103,7 +103,7 @@ declare module ng.animate {
|
||||
* @param name The name of the animation.
|
||||
* @param factory The factory function that will be executed to return the animation object.
|
||||
*/
|
||||
register(name: string, factory: () => ng.IAnimateCallbackObject);
|
||||
register(name: string, factory: () => ng.IAnimateCallbackObject): void;
|
||||
|
||||
/**
|
||||
* Gets and/or sets the CSS class expression that is checked when performing an animation.
|
||||
|
||||
2
angularjs/angular.d.ts
vendored
2
angularjs/angular.d.ts
vendored
@ -605,7 +605,7 @@ declare module ng {
|
||||
* @param name The name of the animation.
|
||||
* @param factory The factory function that will be executed to return the animation object.
|
||||
*/
|
||||
register(name: string, factory: () => IAnimateCallbackObject);
|
||||
register(name: string, factory: () => IAnimateCallbackObject): void;
|
||||
|
||||
/**
|
||||
* Gets and/or sets the CSS class expression that is checked when performing an animation.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user