Change type of angularjs module config fuction to any

It can be subject to dependency injection, eg.

angular.module('myModule', [], [$rootScope, function($rootScope){}]);
This commit is contained in:
Tomas Carnecky
2013-07-08 13:32:53 +02:00
parent 4d5f859016
commit 859afa5d55
+1 -1
View File
@@ -54,7 +54,7 @@ declare module ng {
name: string,
/** name of modules yours depends on */
requires?: string[],
configFunction?: Function): IModule;
configFunction?: any): IModule;
noop(...args: any[]): void;
toJson(obj: any, pretty?: bool): string;
uppercase(str: string): string;