From 151405fb054abc189076ea0e8c33703c3c39ce60 Mon Sep 17 00:00:00 2001 From: okamiconcept Date: Tue, 15 Mar 2016 12:28:10 +0100 Subject: [PATCH] Fix module definition for IModule Put the IModule definition in angular module. --- angularjs/angular-animate.d.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/angularjs/angular-animate.d.ts b/angularjs/angular-animate.d.ts index a34bd479f..64e1bfe7d 100644 --- a/angularjs/angular-animate.d.ts +++ b/angularjs/angular-animate.d.ts @@ -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; }