title: How do I refactor this code so it doesn't throw this error "Property 'patient' does not exist on type 'Request<ParamsDictionary>"?
body: <p>Here's is my code. I'm trying to use passport authenticate to store the info of patients specific to the token created for each person.</p>
  <pre><code>router.get(&quot;/current&quot;, passport.authenticate(&quot;jwt&quot;, { session: false }), (req: Request, res: Response) =&gt; {
      res.json({
          id: req.patient.id,
          fullName: req.patient.fullName,
          age: req.patient.age,
          email: req.patient.email,
          phoneNumber: req.patient.phoneNumber,
          address: req.patient.address,
          medicalHistory: req.patient.medicalHistory,
  
      });
  });
  
  </code></pre>