mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-16 12:50:42 +08:00
Fix $q.when definition
This commit is contained in:
1 parent
c4b432a01f
commit
bd9d835aa7
2 files changed
+8
No files matched your search
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