mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-20 11:49:35 +08:00
AngularJS: Added promise hash signature to .all()
This commit is contained in:
1 parent
d410565fe1
commit
2806d81cae
1 file changed
+1
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