mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +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 49aba51e6b/src/loader.js lines 81, 370, and 111
This commit is contained in:
parent
f3e0c3d36f
commit
25bf971c33
2
types/angular/index.d.ts
vendored
2
types/angular/index.d.ts
vendored
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user