mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 23:07:06 +00:00
angular: gave a more precise return type for IQService.all()
This commit is contained in:
Vendored
+1
-2
@@ -1029,8 +1029,7 @@ declare namespace angular {
|
||||
*
|
||||
* @param promises A hash of promises.
|
||||
*/
|
||||
all(promises: { [id: string]: IPromise<any>; }): IPromise<{ [id: string]: any; }>;
|
||||
all<T extends {}>(promises: { [id: string]: IPromise<any>; }): IPromise<T>;
|
||||
all<T extends {}>(promises: { [K in keyof T]: IPromise<T[K]>; }): IPromise<T>;
|
||||
/**
|
||||
* Creates a Deferred object which represents a task which will finish in the future.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user