diff --git a/src/resolve/resolvable.ts b/src/resolve/resolvable.ts index 00b1f73d..985193ee 100644 --- a/src/resolve/resolvable.ts +++ b/src/resolve/resolvable.ts @@ -111,8 +111,8 @@ export class Resolvable implements ResolvableLiteral { // Gets all dependencies from ResolveContext and wait for them to be resolved const getResolvableDependencies = () => - $q.all(resolveContext.getDependencies(this).map(r => - r.get(resolveContext, trans))) as Promise; + $q.all(resolveContext.getDependencies(this).map(resolvable => + resolvable.get(resolveContext, trans))) as Promise; // Invokes the resolve function passing the resolved dependencies as arguments const invokeResolveFn = (resolvedDeps: any[]) =>