title: Export class as Node.js module in TypeScript
body: <p>I'm familiar with the <code>export</code> keyword in TypeScript, and two canonical ways of exporting things from Node modules using TypeScript (of course, the TypeScript modules can be used as well, but they are even further from what I'm looking for):</p>
  
  <pre><code>export class ClassName { }
  </code></pre>
  
  <p>and a series of</p>
  
  <pre><code>export function functionName () { }
  </code></pre>
  
  <p>However, the way I usually write my modules, so that they are later imported as instantiable closures, is:</p>
  
  <pre><code>var ClassName = function () { };
  ClassName.prototype.functionName = function () { };
  module.exports = ClassName;
  </code></pre>
  
  <p>Is there a way I can do this using the TypeScript export syntax?</p>