mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
fixed return type according to the tests
This commit is contained in:
parent
a619d54c4f
commit
9e69de89d1
2
request-promise/request-promise.d.ts
vendored
2
request-promise/request-promise.d.ts
vendored
@ -16,7 +16,7 @@ declare module 'request-promise' {
|
||||
|
||||
export = RequestPromiseAPI;
|
||||
|
||||
function RequestPromiseAPI(options: RequestPromiseAPI.Options): request.Request;
|
||||
function RequestPromiseAPI(options: RequestPromiseAPI.Options): Promise<any>;
|
||||
function RequestPromiseAPI(uri: string): Promise<request.Request>;
|
||||
|
||||
module RequestPromiseAPI {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user