( resp: express.Response, // eslint-disable-next-line @typescript-eslint/no-explicit-any send: any, statusCode: number, )
| 46 | }; |
| 47 | |
| 48 | function sendErrResponse( |
| 49 | resp: express.Response, |
| 50 | // eslint-disable-next-line @typescript-eslint/no-explicit-any |
| 51 | send: any, |
| 52 | statusCode: number, |
| 53 | ) { |
| 54 | resp.statusCode = statusCode; |
| 55 | resp.send(send); |
| 56 | } |