<p dir="auto">I have an electron project that I compile using gulp-tsb in one pass. Some files reference github-electron-renderer.d.ts and others reference github-electron-main.d.ts. Unfortunately, the duplicate definition of ipc causes some errors which takes away from the advantage of having a d.ts to begin with.</p>
<p dir="auto">Has anyone else seen this issue?</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&gt; tsc
318
319../../node_modules/@types/react/index.d.ts(2818,14): error TS2300: Duplicate identifier 'LibraryManagedAttributes'.
320../../node_modules/@types/react/index.d.ts(2853,13): error TS2717: Subsequent property declarations must have the same type.  Property 'data' must be of type 'DetailedHTMLProps&lt;DataHTMLAttributes&lt;HTMLDataElement&gt;, HTMLDataElement&gt;', but here has type 'DetailedHTMLProps&lt;HTMLAttributes&lt;HTMLElement&gt;, HTMLElement&gt;'.
321node_modules/@types/react/index.d.ts(2822,14): error TS2300: Duplicate identifier 'LibraryManagedAttributes'."><pre class="notranslate"><code class="notranslate">&gt; tsc
318
319../../node_modules/@types/react/index.d.ts(2818,14): error TS2300: Duplicate identifier 'LibraryManagedAttributes'.
320../../node_modules/@types/react/index.d.ts(2853,13): error TS2717: Subsequent property declarations must have the same type.  Property 'data' must be of type 'DetailedHTMLProps&lt;DataHTMLAttributes&lt;HTMLDataElement&gt;, HTMLDataElement&gt;', but here has type 'DetailedHTMLProps&lt;HTMLAttributes&lt;HTMLElement&gt;, HTMLElement&gt;'.
321node_modules/@types/react/index.d.ts(2822,14): error TS2300: Duplicate identifier 'LibraryManagedAttributes'.
</code></pre></div>
<p dir="auto"><a href="https://travis-ci.com/alibaba/uform/jobs/221738774" rel="nofollow">https://travis-ci.com/alibaba/uform/jobs/221738774</a></p>