As stated in the comments by @Ayush Mhetre the correct answer is to remove the return
statement on the same line as the res.status().json()
and put it AFTER the call to the response object
So, for ANY Express app it should be
router.get("/", (req: Request, res: Response) => {
res.status(200).json({});
return;
}