Since upgrading to Typescript 2.9.1 (from 2.8), I encountered a compile error:
node_modules/typescript/lib/lib.es2017.full.d.ts:33:11 - error TS2300: Duplicate identifier 'Account'.
This issue never occurred when I was using typescript 2.7 and 2.8.
Current Environment:
- Operating System: MacOS 10.13.5
- Node.js Version: v9.11.1
- NPM Version: 6.1.0
- Typescript Version Installed Locally: 2.9.1 (no global installation)
// tsconfig.json { "compilerOptions": { "module": "commonjs", "target": "es2017", "noImplicitAny": true, "moduleResolution": "node", "sourceMap": true, "outDir": "ts-build", "baseUrl": ".", "paths": { "kernel/*": [ "./server/kernel/*" ] }, "rootDir": ".", "allowJs": true, "typeRoots": [ "node_modules/@types" ], "emitDecoratorMetadata": true, "experimentalDecorators": true, "types": [], "keyofStringsOnly": true }, "include": [ "server/**/*", "app.*.js" ], "exclude": [ "node_modules" ] }