mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
Add return type to register fn in $animateProvider
This commit is contained in:
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.
|
||||
|
||||
Reference in New Issue
Block a user