mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-26 12:10:44 +08:00
Merge pull request #468 from MorganZ/patch-2
Missing the definition of resolve function
This commit is contained in:
commit
3dbb895d14
1 file changed
+2
-1
@@ -42,6 +42,7 @@ interface QStatic {
|
||||
fcall(method: Function, ...args: any[]): Qpromise;
|
||||
all(promises: Qpromise[]): Qpromise;
|
||||
allResolved(promises: Qpromise[]): Qpromise;
|
||||
resolve(object?:Qpromise);
|
||||
spread(onFulfilled: Function, onRejected: Function): Qpromise;
|
||||
timeout(ms: number): Qpromise;
|
||||
delay(ms: number): Qpromise;
|
||||
@@ -60,4 +61,4 @@ interface QStatic {
|
||||
oneerror: any;
|
||||
longStackJumpLimit: number;
|
||||
}
|
||||
declare var Q: QStatic;
|
||||
declare var Q: QStatic;
|
||||
Reference in new issue
Block a user