Merge pull request #7938 from romiem/patch-1

Update angular.d.ts to allow IModule .config signature to accept object parameters
This commit is contained in:
Masahiro Wakame
2016-02-07 00:15:41 +09:00
+1
View File
@@ -200,6 +200,7 @@ declare module angular {
* @param inlineAnnotatedFunction Execute this function on module load. Useful for service configuration.
*/
config(inlineAnnotatedFunction: any[]): IModule;
config(object: Object): IModule;
/**
* Register a constant service, such as a string, a number, an array, an object or a function, with the $injector. Unlike value it can be injected into a module configuration function (see config) and it cannot be overridden by an Angular decorator.
*