@types/request
Advanced tools
Comparing version 0.0.43 to 0.0.44
@@ -71,9 +71,38 @@ // Type definitions for request | ||
defaults(options: TOptions): DefaultUriUrlRequestApi<TRequest, TOptions, OptionalUriUrl>; | ||
(): TRequest; | ||
get(): TRequest; | ||
post(): TRequest; | ||
put(): TRequest; | ||
head(): TRequest; | ||
patch(): TRequest; | ||
del(): TRequest; | ||
(callback?: RequestCallback): TRequest; | ||
get(uri: string, options?: TOptions, callback?: RequestCallback): TRequest; | ||
get(uri: string, callback?: RequestCallback): TRequest; | ||
get(options: TUriUrlOptions & TOptions, callback?: RequestCallback): TRequest; | ||
get(callback?: RequestCallback): TRequest; | ||
post(uri: string, options?: TOptions, callback?: RequestCallback): TRequest; | ||
post(uri: string, callback?: RequestCallback): TRequest; | ||
post(options: TUriUrlOptions & TOptions, callback?: RequestCallback): TRequest; | ||
post(callback?: RequestCallback): TRequest; | ||
put(uri: string, options?: TOptions, callback?: RequestCallback): TRequest; | ||
put(uri: string, callback?: RequestCallback): TRequest; | ||
put(options: TUriUrlOptions & TOptions, callback?: RequestCallback): TRequest; | ||
put(callback?: RequestCallback): TRequest; | ||
head(uri: string, options?: TOptions, callback?: RequestCallback): TRequest; | ||
head(uri: string, callback?: RequestCallback): TRequest; | ||
head(options: TUriUrlOptions & TOptions, callback?: RequestCallback): TRequest; | ||
head(callback?: RequestCallback): TRequest; | ||
patch(uri: string, options?: TOptions, callback?: RequestCallback): TRequest; | ||
patch(uri: string, callback?: RequestCallback): TRequest; | ||
patch(options: TUriUrlOptions & TOptions, callback?: RequestCallback): TRequest; | ||
patch(callback?: RequestCallback): TRequest; | ||
del(uri: string, options?: TOptions, callback?: RequestCallback): TRequest; | ||
del(uri: string, callback?: RequestCallback): TRequest; | ||
del(options: TUriUrlOptions & TOptions, callback?: RequestCallback): TRequest; | ||
del(callback?: RequestCallback): TRequest; | ||
delete(uri: string, options?: TOptions, callback?: RequestCallback): TRequest; | ||
delete(uri: string, callback?: RequestCallback): TRequest; | ||
delete(options: TUriUrlOptions & TOptions, callback?: RequestCallback): TRequest; | ||
delete(callback?: RequestCallback): TRequest; | ||
} | ||
@@ -134,6 +163,3 @@ | ||
interface OptionalUriUrl { | ||
uri?: string; | ||
url?: string; | ||
} | ||
export type OptionalUriUrl = RequiredUriUrl | {}; | ||
@@ -140,0 +166,0 @@ export type OptionsWithUri = UriOptions & CoreOptions; |
{ | ||
"name": "@types/request", | ||
"version": "0.0.43", | ||
"version": "0.0.44", | ||
"description": "TypeScript definitions for request", | ||
@@ -39,4 +39,4 @@ "license": "MIT", | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "59a115509bc1c9891673554903a777cf3ac5702233d6d4d3c17c6cfbaf3cfe3f", | ||
"typesPublisherContentHash": "b26059121b7d4752f9846612653ed3be711483d9003d7c7ceff08db11f923765", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Fri, 05 May 2017 01:11:56 GMT | ||
* Last updated: Thu, 15 Jun 2017 22:02:56 GMT | ||
* Dependencies: stream, http, https, url, fs, form-data, node | ||
@@ -14,0 +14,0 @@ * Global values: none |
Sorry, the diff of this file is not supported yet
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
14372
254