Merge pull request #8566 from okamiconcept/patch-2

Fix module definition for IModule
This commit is contained in:
Horiuchi_H
2016-04-07 17:51:21 +09:00

View File

@@ -287,9 +287,11 @@ declare namespace angular.animate {
interface IAnimateCssService {
(element: JQuery, animateCssOptions: IAnimationOptions): IAnimateCssRunner;
}
}
declare module angular {
interface IModule {
animation(name: string, animationFactory: IAnimateFactory): IModule;
animation(name: string, animationFactory: angular.animate.IAnimateFactory): IModule;
animation(name: string, inlineAnnotatedFunction: any[]): IModule;
animation(object: Object): IModule;
}