mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
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:
Vendored
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user