mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Added has() method to auto.IInjectorService
Angular added the has() method to $injector in version 1.2 (see: https://github.com/angular/angular.js/blob/g3_v1_2/src/auto/injector.js)
This commit is contained in:
parent
45d36a4a78
commit
05ec01901c
3
angularjs/angular.d.ts
vendored
3
angularjs/angular.d.ts
vendored
@ -821,7 +821,8 @@ declare module ng {
|
||||
interface IInjectorService {
|
||||
annotate(fn: Function): string[];
|
||||
annotate(inlineAnnotadedFunction: any[]): string[];
|
||||
get (name: string): any;
|
||||
get(name: string): any;
|
||||
has(name: string): boolean;
|
||||
instantiate(typeConstructor: Function, locals?: any): any;
|
||||
invoke(inlineAnnotadedFunction: any[]): any;
|
||||
invoke(func: Function, context?: any, locals?: any): any;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user