diff --git a/oclazyload/oclazyload.d.ts b/oclazyload/oclazyload.d.ts index 1acf7e7819..56cd2850f4 100644 --- a/oclazyload/oclazyload.d.ts +++ b/oclazyload/oclazyload.d.ts @@ -43,7 +43,7 @@ declare module oc { * Injects a module with the associated name into Angular. Useful for manual injection when loading through RequireJS, SystemJS, etc. Useful in * conjunction with the toggleWatch() method. */ - inject(moduleName: string|string[]): boolean; + inject(moduleName: string|string[]): ng.IPromise; /** * Enables or disables watching Angular for new modules. Useful in conjunction with the inject() method. Make sure to not keep the watch enabled @@ -146,4 +146,4 @@ declare module angular { */ module(name: string, requires?: (string|oc.IModuleConfig)[], configFn?: Function): IModule; } -} \ No newline at end of file +}