@cdellacqua/express-async-wrapper
Advanced tools
Comparing version 1.0.6 to 1.0.7
import { Request, Response, RequestHandler, NextFunction } from 'express'; | ||
export declare function asyncWrapper(callback: (req: Request, res: Response, next: NextFunction) => void): RequestHandler; | ||
export declare function asyncWrapper(callback: (req: Request, res: Response, next: NextFunction) => void | Promise<void>): RequestHandler; |
{ | ||
"name": "@cdellacqua/express-async-wrapper", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "Enable support for async syntactic sugar in express middlewares and request handlers", | ||
@@ -5,0 +5,0 @@ "types": "build/index.d.ts", |
3760