httpproblem
Advanced tools
Comparing version 0.5.0 to 0.5.1
@@ -33,3 +33,3 @@ declare module "httpproblem" { | ||
type Document = (options: IDocumentOptions, extension?: IExtension) => IDocument; | ||
type DocumentConstructor = new (options: IDocumentOptions, extension?: IExtension) => IDocument; | ||
type Extension = (options: IExtensionOptions) => IExtension; | ||
@@ -44,3 +44,3 @@ | ||
const _: { | ||
Document: Document, | ||
Document: DocumentConstructor, | ||
StatusCodeProblems: { | ||
@@ -47,0 +47,0 @@ BadRequestProblem: BadRequestProblem, |
{ | ||
"name": "httpproblem", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"description": "Create Problem Details for HTTP APIs according to RFC 7807", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
94885