From 5c0f7336fb79252d48c02d9fa7b5a7e110c550fa Mon Sep 17 00:00:00 2001 From: Kasper Guldmann Nielsen Date: Sun, 18 Jun 2017 22:20:49 +0200 Subject: [PATCH] angular: gave a more precise return type for IQService.all() --- types/angular/index.d.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/types/angular/index.d.ts b/types/angular/index.d.ts index d0e2d978dc..f748ee9c50 100644 --- a/types/angular/index.d.ts +++ b/types/angular/index.d.ts @@ -1029,8 +1029,7 @@ declare namespace angular { * * @param promises A hash of promises. */ - all(promises: { [id: string]: IPromise; }): IPromise<{ [id: string]: any; }>; - all(promises: { [id: string]: IPromise; }): IPromise; + all(promises: { [K in keyof T]: IPromise; }): IPromise; /** * Creates a Deferred object which represents a task which will finish in the future. */