title: Has no exported member
body: <p>I am new in Typescript. I am using express js and I have the folowing problem. When I run the server it appear '...../routes.ts' has no exported member 'router'. I ve been searching but I didnt succeed. These are my files.</p>
  
  <p>In my src/index.ts</p>
  
  <pre><code>import "reflect-metadata"
  import * as express from "express"
  import { router } from "./routes"
  
  async function main() {
   const app = express()
   app.get('/api',router)
   app.listen(3000, () =&gt; console.log("Server running"))
  }
  
  main()
  </code></pre>
  
  <p>In my src/routes.ts</p>
  
  <pre><code>import * as express from "express";
  var router = express.Router();
  
  router.route('/user').get((req, res) =&gt; res.send("Hello world"));
  
  module.exports = router;
  </code></pre>