Comparing version 4.0.2 to 4.0.3
@@ -1,2 +0,2 @@ | ||
import * as express from 'express'; | ||
import { ErrorRequestHandler, RequestHandler } from 'express'; | ||
@@ -10,7 +10,7 @@ /** | ||
declare function Celebrate (schema: { | ||
params: object, | ||
headers: object, | ||
query: object, | ||
body: object, | ||
}, config?: object): express.RequestHandler; | ||
params?: object, | ||
headers?: object, | ||
query?: object, | ||
body?: object, | ||
}, config?: object): RequestHandler; | ||
@@ -21,5 +21,5 @@ declare namespace Celebrate { | ||
*/ | ||
function errors(): express.ErrorRequestHandler; | ||
function errors(): ErrorRequestHandler; | ||
} | ||
export = Celebrate; | ||
export = Celebrate; |
{ | ||
"name": "celebrate", | ||
"version": "4.0.2", | ||
"version": "4.0.3", | ||
"description": "A joi validation middleware for Express.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
9013
103