@types/request-promise
Advanced tools
Comparing version 4.1.35 to 4.1.36
@@ -13,11 +13,4 @@ // Type definitions for request-promise 4.1 | ||
declare namespace requestPromise { | ||
interface RequestPromise extends request.Request { | ||
then<TResult>(onfulfilled?: (value: any) => TResult | PromiseLike<TResult>, onrejected?: (reason: any) => void | TResult | PromiseLike<TResult>): Promise<TResult>; | ||
catch(onrejected?: (reason: any) => any | PromiseLike<any>): Promise<any>; | ||
catch(type: errors.RequestErrorConstructor, onrejected?: (reason: errors.RequestError) => void): Promise<any>; | ||
catch(type: errors.StatusCodeErrorConstructor, onrejected?: (reason: errors.StatusCodeError) => void): Promise<any>; | ||
catch(type: errors.TransformErrorConstructor, onrejected?: (reason: errors.TransformError) => void): Promise<any>; | ||
finally<TResult>(handler: () => TResult | PromiseLike<TResult>): Promise<any>; | ||
interface RequestPromise extends request.Request, Promise<any> { | ||
promise(): Promise<any>; | ||
cancel(): void; | ||
} | ||
@@ -24,0 +17,0 @@ |
{ | ||
"name": "@types/request-promise", | ||
"version": "4.1.35", | ||
"version": "4.1.36", | ||
"description": "TypeScript definitions for request-promise", | ||
@@ -31,4 +31,4 @@ "license": "MIT", | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "78dbc65211f1ba328711ed9d9367a1be1bb25619c85026068f36fb6ebcf47160", | ||
"typesPublisherContentHash": "5129f0b5535f9c51ea4f8466549140aa0e967eb7f6664c8bacd4253d6096b2b0", | ||
"typeScriptVersion": "2.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Tue, 20 Jun 2017 20:20:01 GMT | ||
* Last updated: Fri, 07 Jul 2017 20:52:56 GMT | ||
* Dependencies: request, http, bluebird | ||
@@ -14,0 +14,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5538
63