@types/http-errors
Advanced tools
Comparing version 1.6.2 to 1.6.3
@@ -23,5 +23,7 @@ // Type definitions for http-errors 1.6 | ||
type UnknownError = Error | string | number | { [key: string]: any }; | ||
type HttpErrorConstructor = new (msg?: string) => HttpError; | ||
type CreateHttpError = (...args: Array<Error | string | number | { [key: string]: any }>) => HttpError; | ||
type CreateHttpError = (...args: UnknownError[]) => HttpError; | ||
@@ -28,0 +30,0 @@ type NamedConstructors = { |
{ | ||
"name": "@types/http-errors", | ||
"version": "1.6.2", | ||
"version": "1.6.3", | ||
"description": "TypeScript definitions for http-errors", | ||
@@ -19,3 +19,3 @@ "license": "MIT", | ||
"main": "", | ||
"types": "index", | ||
"types": "index.d.ts", | ||
"repository": { | ||
@@ -28,4 +28,4 @@ "type": "git", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "aa878c13f27a0196d6a5dc6ba7413608867244cab353100f84ac3ecbb4fb740a", | ||
"typeScriptVersion": "2.3" | ||
"typesPublisherContentHash": "2c47d02e158fb74058d2f54804728805fae067cafa130447d99a4495534fd759", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -8,6 +8,6 @@ # Installation | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/http-errors | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/http-errors. | ||
Additional Details | ||
* Last updated: Mon, 19 Aug 2019 00:51:16 GMT | ||
### Additional Details | ||
* Last updated: Tue, 19 Nov 2019 19:44:53 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). |
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
5501
107