Add return type to register fn in $animateProvider

This commit is contained in:
Adi Dahiya
2014-10-08 00:01:10 -04:00
parent e00a5588ee
commit 05432c972c
2 changed files with 2 additions and 2 deletions

View File

@@ -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.