mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 12:30:18 +00:00
Fix $q.when definition
This commit is contained in:
Vendored
+1
@@ -455,6 +455,7 @@ declare module ng {
|
||||
all(promises: {[id: string]: IPromise<any>;}): IPromise<{[id: string]: any}>;
|
||||
defer<T>(): IDeferred<T>;
|
||||
reject(reason?: any): IPromise<void>;
|
||||
when<T>(value: IPromise<T>): IPromise<T>;
|
||||
when<T>(value: T): IPromise<T>;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user