title: Using Express() with TypeScript
body: <p>I want to use the most recent version of Expess with node.js in TypeScript. The express.d.ts provided by microsoft in the samples seems to be built upon a versions prior to 3.0.x.
  In previous version you could do </p>
  
  <pre><code>var app = express.createServer()
  </code></pre>
  
  <p>but after 3.0.x you should do: </p>
  
  <pre><code>var app = express();
  </code></pre>
  
  <p>Express.d.ts does not support this... I've found a hack around this:
  I've added the following line to Express.d.ts:</p>
  
  <pre><code>export function(): any;
  </code></pre>
  
  <p>In <code>app.ts</code> when I want to create the app object I do the following:</p>
  
  <pre><code>var app = &lt;express.ExpressServer&gt;express();
  </code></pre>
  
  <p>This seems to fix the issue, it's compiling without an error, and also I get intellisense support. However this is a hack... First of all why can't I write something like this?</p>
  
  <pre><code>export function(): ExpressServer;
  </code></pre>
  
  <p>Is this the recommended way to fix this issue?</p>