mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-25 11:11:46 +08:00
Merge pull request #5742 from lightswitch05/patch-1
Angularjs: `IInjectorService.get` has an optional 2nd param.
This commit is contained in:
Vendored
+1
-1
@@ -1693,7 +1693,7 @@ declare module angular {
|
||||
interface IInjectorService {
|
||||
annotate(fn: Function): string[];
|
||||
annotate(inlineAnnotatedFunction: any[]): string[];
|
||||
get<T>(name: string): T;
|
||||
get<T>(name: string, caller?: string): T;
|
||||
has(name: string): boolean;
|
||||
instantiate<T>(typeConstructor: Function, locals?: any): T;
|
||||
invoke(inlineAnnotatedFunction: any[]): any;
|
||||
|
||||
Reference in New Issue
Block a user