mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
Missing the definition of resolve function
Can you double check?
This commit is contained in:
1 parent
b3fafd6b38
commit
9158b9f84e
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