@types/request-promise
Advanced tools
Comparing version 4.1.39 to 4.1.40
@@ -0,0 +0,0 @@ import rp = require('.'); |
// Type definitions for request-promise 4.1 | ||
// Project: https://github.com/request/request-promise | ||
// Definitions by: Christopher Glantschnig <https://github.com/cglantschnig>, Joe Skeen <https://github.com/joeskeen>, Aya Morisawa <https://github.com/AyaMorisawa> | ||
// Definitions by: Christopher Glantschnig <https://github.com/cglantschnig> | ||
// Joe Skeen <https://github.com/joeskeen> | ||
// Aya Morisawa <https://github.com/AyaMorisawa> | ||
// Matt R. Wilson <https://github.com/mastermatt> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -13,3 +16,7 @@ // TypeScript Version: 2.3 | ||
declare namespace requestPromise { | ||
interface RequestPromise extends request.Request, Promise<any> { | ||
interface RequestPromise extends request.Request { | ||
then: Promise<any>["then"]; | ||
catch: Promise<any>["catch"]; | ||
finally: Promise<any>["finally"]; | ||
cancel: Promise<any>["cancel"]; | ||
promise(): Promise<any>; | ||
@@ -16,0 +23,0 @@ } |
{ | ||
"name": "@types/request-promise", | ||
"version": "4.1.39", | ||
"version": "4.1.40", | ||
"description": "TypeScript definitions for request-promise", | ||
@@ -21,2 +21,7 @@ "license": "MIT", | ||
"githubUsername": "AyaMorisawa" | ||
}, | ||
{ | ||
"name": "Matt R. Wilson", | ||
"url": "https://github.com/mastermatt", | ||
"githubUsername": "mastermatt" | ||
} | ||
@@ -34,4 +39,4 @@ ], | ||
}, | ||
"typesPublisherContentHash": "b02546d15035486f494e3e646b78c81d8da6c76b371404e40469de3d8ae691fd", | ||
"typesPublisherContentHash": "54055de5d434e571813777ff0d47b81d73b63702596f787758868dfb24b1f152", | ||
"typeScriptVersion": "2.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Wed, 25 Oct 2017 16:18:57 GMT | ||
* Last updated: Mon, 22 Jan 2018 23:14:55 GMT | ||
* Dependencies: request, http, bluebird | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by Christopher Glantschnig <https://github.com/cglantschnig>, Joe Skeen <https://github.com/joeskeen>, Aya Morisawa <https://github.com/AyaMorisawa>. | ||
These definitions were written by Christopher Glantschnig <https://github.com/cglantschnig>, Joe Skeen <https://github.com/joeskeen>, Aya Morisawa <https://github.com/AyaMorisawa>, Matt R. Wilson <https://github.com/mastermatt>. |
Sorry, the diff of this file is not supported yet
6061
70