TypeScript error: duplicate identifier, React definition files
<p>I work on Webstorm and I try to compile via TypeScript *.tsx.
I put react folder at the root of my project.
I imported react with the relevant typescript command.
While I tsc I get the following error:</p>

<pre><code>react-definition/react.d.ts(2267,9): error TS2300: Duplicated identifier 'tspan'.
</code></pre>

<p>and it's pointing files in the react-definition folder.</p>

<p><strong>UPDATE:</strong>
here is the code:</p>

<pre><code>import * as react from "react-definition"
&lt;div&gt;
&lt;Check/&gt;
&lt;/div&gt;
</code></pre>

<p>Can anyone help?</p>