mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-01 09:01:45 +08:00
adds strictDi to angular.auto.IInjectorService
This commit is contained in:
3
angularjs/angular.d.ts
vendored
3
angularjs/angular.d.ts
vendored
@@ -1833,13 +1833,14 @@ declare module angular {
|
||||
// see http://docs.angularjs.org/api/AUTO.$injector
|
||||
///////////////////////////////////////////////////////////////////////
|
||||
interface IInjectorService {
|
||||
annotate(fn: Function): string[];
|
||||
annotate(fn: Function, strictDi?: boolean): string[];
|
||||
annotate(inlineAnnotatedFunction: any[]): string[];
|
||||
get<T>(name: string, caller?: string): T;
|
||||
has(name: string): boolean;
|
||||
instantiate<T>(typeConstructor: Function, locals?: any): T;
|
||||
invoke(inlineAnnotatedFunction: any[]): any;
|
||||
invoke(func: Function, context?: any, locals?: any): any;
|
||||
strictDi: boolean;
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user