adds strictDi to angular.auto.IInjectorService

This commit is contained in:
Matthew Hill
2016-03-02 14:37:48 +00:00
parent 4ba57e605b
commit c2ae01b0b4
2 changed files with 12 additions and 2 deletions

View File

@@ -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;
}
///////////////////////////////////////////////////////////////////////