@types/http-errors
Advanced tools
Comparing version 1.6.3 to 1.8.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for http-errors 1.6 | ||
// Type definitions for http-errors 1.8 | ||
// Project: https://github.com/jshttp/http-errors | ||
@@ -10,3 +10,5 @@ // Definitions by: Tanguy Krotoff <https://github.com/tkrotoff> | ||
declare const createHttpError: createHttpError.CreateHttpError & createHttpError.NamedConstructors; | ||
declare const createHttpError: createHttpError.CreateHttpError & createHttpError.NamedConstructors & { | ||
isHttpError: createHttpError.IsHttpError | ||
}; | ||
@@ -30,2 +32,4 @@ declare namespace createHttpError { | ||
type IsHttpError = (error: unknown) => error is HttpError; | ||
type NamedConstructors = { | ||
@@ -32,0 +36,0 @@ [code: string]: HttpErrorConstructor; |
{ | ||
"name": "@types/http-errors", | ||
"version": "1.6.3", | ||
"version": "1.8.0", | ||
"description": "TypeScript definitions for http-errors", | ||
@@ -27,4 +27,4 @@ "license": "MIT", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "2c47d02e158fb74058d2f54804728805fae067cafa130447d99a4495534fd759", | ||
"typeScriptVersion": "2.8" | ||
"typesPublisherContentHash": "61c68cc213bf1a21d07bfac01c18754adea53b40a66a043c89fb6a35957ac0c9", | ||
"typeScriptVersion": "3.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 19 Nov 2019 19:44:53 GMT | ||
* Last updated: Fri, 10 Jul 2020 14:16:15 GMT | ||
* Dependencies: none | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by Tanguy Krotoff (https://github.com/tkrotoff), and BendingBender (https://github.com/BendingBender). | ||
These definitions were written by [Tanguy Krotoff](https://github.com/tkrotoff), and [BendingBender](https://github.com/BendingBender). |
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
5576
110