title: TypeScript Express Error Function
body: <p>What are the types of the four parameters for the error handling function when coding in Typescript? </p>
  
  <pre><code>app.use((err: ??, req: ??, res: ??, next: ??) =&gt; { });
  </code></pre>
  
  <p>I am using VS Code and no hints are offered. I get red wiggly lines under all four parameters.</p>
  
  <p>The error says "Parameter implicitly has 'any' type". Actually I am confused with this message. If it treats it as an <code>any</code> type, then isn't that a valid choice?</p>