mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-13 05:20:25 +00:00
Update angular.module to accept an Injectable as the configFn.
This is undocumented behavior in Angular, but works because this argument is passed to $injector.invoke. See https://github.com/angular/angular.js/blob/49aba51e6bfd3f6d59c0f28628cc983d84438cfa/src/loader.js lines 81, 370, and 111
This commit is contained in:
Vendored
+1
-1
@@ -159,7 +159,7 @@ declare namespace angular {
|
||||
module(
|
||||
name: string,
|
||||
requires?: string[],
|
||||
configFn?: Function): IModule;
|
||||
configFn?: Injectable<Function>): IModule;
|
||||
|
||||
noop(...args: any[]): void;
|
||||
reloadWithDebugInfo(): void;
|
||||
|
||||
Reference in New Issue
Block a user