mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-26 12:10:44 +08:00
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:
commit
b43001c464
1 file changed
+1
Vendored
+1
@@ -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.
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user