Closed
Description
TypeScript Version: nightly (2.1.0-dev.201xxxxx)
The problem here is related to #11671
-
Package that I use requires "es6-shim" as following
/// <reference types="es6-shim" />
. -
This REQUIRES me to install @types/es6-shim otherwise I get an error
-
My project is ES6 based. As a result, after I install that dependency, I get following error during compilation:
file: 'file:///Users/tomi/Github/apps/Clara-Apollo/node_modules/%40types/es6-shim/index.d.ts' severity: 'Error' message: 'Duplicate identifier 'PropertyKey'.'
-
No matter what I set to
types
property or totypeRoots
the error will never go away, unless I manually delete the 'PropertyKey' definition in the es6-shim.d.ts file. While this is ok in local, it PROHIBITS CI, as the project will never compile on CI server
What can I do in this case? Is there any way I can protect myself from these errors?