mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
fixed return type according to the tests
This commit is contained in:
Vendored
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user