Closed patran closed 5 years ago
router.post('/api/v1/abc/:operation/:byParam?', asyncHandler (async(req: Request, res: Response, next) => { await abcController.execute(req, res); }));
I am getting warning about next. Is this expected?
"'next' is declared but its value is never read.ts(6133)"
Thanks
If you are not using next, just remove it.
next
router.post('/api/v1/abc/:operation/:byParam?', asyncHandler (async(req: Request, res: Response, next) => { await abcController.execute(req, res); }));
I am getting warning about next. Is this expected?
"'next' is declared but its value is never read.ts(6133)"
Thanks