title: Express 4.x with Typescript
body: <p>I am trying to make a express app with typescript.</p>
  
  <p>This is my code so far: </p>
  
  <pre><code>//&lt;reference path="./server/types/node.d.ts"/&gt;
  //&lt;reference path="./server/types/express.d.ts"/&gt;
  
  import express = require('express');
  
  var app = express();
  
  app.get('/', function(req, res) {
      res.send('hi');
  });
  
  app.listen(3000);
  </code></pre>
  
  <p>nothing really shocking, I am just trying to make this work, but somehow, always when I try translate this file to a js file. I get strange errors, even if I change the express version to 3.1 (the express.d.ts is just supported for express 3.1 not for 4.x)</p>
  
  <p>Any idea, where I can get a express.d.ts file for express 4.x or what I am doing wrong?</p>
  
  <pre><code>&gt;&gt; error TS2071: Unable to resolve external module ''express''
  &gt;&gt; error TS2071: Module cannot be aliased to a non-module type.
  &gt;&gt; error TS2095: Could not find symbol 'express'.
  </code></pre>