mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-04 16:04:45 +08:00
AngularJS: Added promise hash signature to .all()
This commit is contained in:
Vendored
+1
@@ -452,6 +452,7 @@ declare module ng {
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
interface IQService {
|
||||
all(promises: IPromise<any>[]): IPromise<any[]>;
|
||||
all(promises: {[id: string]: IPromise<any>;}): IPromise<{[id: string]: any}>;
|
||||
defer<T>(): IDeferred<T>;
|
||||
reject(reason?: any): IPromise<void>;
|
||||
when<T>(value: T): IPromise<T>;
|
||||
|
||||
Reference in New Issue
Block a user