title: TypeScript with Express: Type 'typeof import("express")' has no call signatures
body: <p>My error is:</p>
  
  <pre><code>Error: src/app.ts(11,13): error TS2349: This expression is not callable.
    Type 'typeof import("express")' has no call signatures.
  </code></pre>
  
  <p>My <code>tsconfig.json</code> is:</p>
  
  <pre><code>{
      "compilerOptions": {
          "outDir": "./built",
          "allowJs": true,
          "target": "es6",
          "esModuleInterop": true
      },
      "include": [
          "./src/**/*"
      ]
  }
  </code></pre>
  
  <p>My <code>src/app.ts</code> has:</p>
  
  <pre><code>// const Logger = require('./lib/logger')
  import express from 'express';
  import bodyParser from 'body-parser';
  // const finale = require('finale-rest')
  // const morgan = require('morgan')
  const DB = require('./models')()
  
  
  // const resources = require('./resources')
  
  const app = express()
  </code></pre>
  
  <p>The line in question is <code>const app = express()</code></p>
  
  <p>What am I doing wrong?</p>