@api-ts/express-wrapper
Advanced tools
Comparing version 1.0.7 to 1.0.8
@@ -5,3 +5,3 @@ import * as express from 'express'; | ||
export declare type MiddlewareFn<T extends {}> = (req: express.Request, res: express.Response) => Promise<T>; | ||
declare type MiddlewareHandler<T extends {} = {}> = { | ||
export declare type MiddlewareHandler<T extends {} = {}> = { | ||
(req: express.Request, res: express.Response, next: express.NextFunction): void; | ||
@@ -8,0 +8,0 @@ [MiddlewareBrand]: T; |
{ | ||
"name": "@api-ts/express-wrapper", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "Implement an HTTP specification with Express", | ||
@@ -5,0 +5,0 @@ "author": "Eric Crosson <ericcrosson@bitgo.com>", |
Sorry, the diff of this file is not supported yet
29702