mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-11 12:00:27 +08:00
refactor q/Q.d.ts
This commit is contained in:
1 parent
5daac86648
commit
59fa100d05
1 file changed
+1
-4
@@ -50,10 +50,7 @@ declare module Q {
|
||||
*
|
||||
* This is especially useful in conjunction with all
|
||||
*/
|
||||
spread<U>(onFulfill: (...args: any[]) => IPromise<U>, onReject?: (reason: any) => IPromise<U>): Promise<U>;
|
||||
spread<U>(onFulfill: (...args: any[]) => IPromise<U>, onReject?: (reason: any) => U): Promise<U>;
|
||||
spread<U>(onFulfill: (...args: any[]) => U, onReject?: (reason: any) => IPromise<U>): Promise<U>;
|
||||
spread<U>(onFulfill: (...args: any[]) => U, onReject?: (reason: any) => U): Promise<U>;
|
||||
spread<U>(onFulfill: (...args: any[]) => IPromise<U> | U, onReject?: (reason: any) => IPromise<U> | U): Promise<U>;
|
||||
|
||||
fail<U>(onRejected: (reason: any) => U | IPromise<U>): Promise<U>;
|
||||
|
||||
|
||||
Reference in new issue
Block a user