diff --git a/angularjs/angular-animate.d.ts b/angularjs/angular-animate.d.ts index e725a1313..e3801218b 100644 --- a/angularjs/angular-animate.d.ts +++ b/angularjs/angular-animate.d.ts @@ -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. diff --git a/angularjs/angular.d.ts b/angularjs/angular.d.ts index 074e980e4..20e687894 100755 --- a/angularjs/angular.d.ts +++ b/angularjs/angular.d.ts @@ -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.