title: Duplicate identifier 'export='
body: <p>I know this question was asked here before, but none of the solutions is working for me. I have the following tsconfig:</p>
  
  <pre><code>{
    "compilerOptions": {
      "module": "commonjs",
      "target": "es6",
      "declaration": true,
      "outDir": "./dist"
    },
    "typeRoots": ["./node_modules/@types/*"],
    "include": [
      "./src/**/*"
    ]
  }
  </code></pre>
  
  <p>but when I run <code>tsc</code> I get:</p>
  
  <pre><code>../node_modules/@types/passport/index.d.ts(100,5): error TS2300: Duplicate identifier 'export='.
  node_modules/@types/passport/index.d.ts(100,5): error TS2300: Duplicate identifier 'export='.
  </code></pre>
  
  <p>How is it possible that I still get <code>../node_modules/@types/ (etc)</code> when I specifically said only include the <code>./src</code> folder and only types from <code>./node_modules/@types</code>?</p>
  
  <p>I'm using typescript Version 2.4.0 (but have the same problem with version 2.3.4)</p>