title: no response from endpoint when using express-validator with typescript
body: <p>I'm trying to validate the response body for my endpoint, however, I get no response from hat endpoint when I use express-validator. I'm pretty sure that I followed the official <a href="https://express-validator.github.io/docs/" rel="nofollow noreferrer">documentation</a>:</p>
  <p>Here is my endpoint:</p>
  <pre><code>import { body, validationResult } from &quot;express-validator&quot;;
  
  export const accountRouter = express.Router();
  
  accountRouter.post( &quot;/signIn&quot;, body('userName').notEmpty, body('password').notEmpty, async ( req: express.Request, res: express.Response)  =&gt;  {
      const errors = validationResult(req);
      if (!errors.isEmpty()) return res.sendStatus(400);
      
      ...doStuff();
  })
  </code></pre>