chore: Add missing deps (#4317)

This commit is contained in:
Oliver Windall Juhl
2023-06-15 18:27:31 +02:00
committed by GitHub
parent 81dfeb43ea
commit 9b42387fd3
24 changed files with 84 additions and 101 deletions

View File

@@ -3,7 +3,7 @@ import { NextFunction, Request, RequestHandler, Response } from "express"
type handler = (req: Request, res: Response) => Promise<void>
export const wrapHandler = (fn: handler): RequestHandler => {
return (
return (
req: Request & { errors?: Error[] },
res: Response,
next: NextFunction