Closed nickzelei closed 7 years ago
This is a duplicate of https://github.com/Microsoft/TypeScript/issues/12724. We'll be publishing TypeScript 2.1.5, but you can ignore the error for the time being if you still need to use tslib (or install typescript@next
).
I wanted to try using tslib with my React project, but am running into tsc compiler errors. It works fine with Webpack, but when compiling with "tsc" the React type definitions are not playing nicely.
I have tslib installed as a dev-dependency and in my tsconfig.json I have the compilerOption set:
"importHelpers": true