Files
carry-your-live/backend/dist/utils/asyncHandler.d.ts
T
2026-08-06 11:16:47 +02:00

5 lines
323 B
TypeScript

import { Request, Response, NextFunction } from 'express';
type AsyncHandler = (req: Request, res: Response, next: NextFunction) => Promise<unknown>;
export declare function asyncHandler(handler: AsyncHandler): (req: Request, res: Response, next: NextFunction) => void;
export {};
//# sourceMappingURL=asyncHandler.d.ts.map