mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
fix tests
This commit is contained in:
Vendored
+1
-1
@@ -13,7 +13,7 @@ declare module 'request-promise' {
|
||||
import http = require('http');
|
||||
|
||||
interface RequestPromise extends request.Request {
|
||||
then(onFulfilled: Function, onRejected: Function): Promise<any>;
|
||||
then(onFulfilled: Function, onRejected?: Function): Promise<any>;
|
||||
catch(onRejected: Function): Promise<any>;
|
||||
finally(onFinished: Function): Promise<any>;
|
||||
promise(): Promise<any>;
|
||||
|
||||
Reference in New Issue
Block a user