title: Should Node.js/Express Routers Be Wrapped in a Class When Using TypeScript?
body: <p>I am using <code>Node.js/Express</code> and using <code>TypeScript</code> and wondering if <code>router</code> files should be encapsulated as a class?</p>
  
  <p>It seems kind of pointless to me for middleware and router is just a variable.</p>
  
  <p>Should I be doing this to follow Object-Oriented design principles when using TypeScript? </p>