title: Extend Express Request object using Typescript
body: <p>I’m trying to add a property to express request object from a middleware using typescript. However I can’t figure out how to add extra properties to the object. I’d prefer to not use bracket notation if possible. </p>
  
  <p>I’m looking for a solution that would allow me to write something similar to this (if possible):<br></p>
  
  <pre><code>app.use((req, res, next) =&gt; {
      req.property = setProperty(); 
      next();
  });
  </code></pre>