Fix module definition for IModule

Put the IModule definition in angular module.
This commit is contained in:
okamiconcept
2016-03-15 12:28:10 +01:00
parent 81ebfb3d08
commit 151405fb05

View File

@@ -287,9 +287,11 @@ declare module 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;
}