<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I tried using the latest <code class="notranslate">electron/index.d.ts</code> file in this repo and had problems.</li>
</ul>
<p dir="auto">It gave me following error after running tsc:</p>
<p dir="auto">typings/globals/electron/index.d.ts(1860,8): error TS2420: Class 'Electron.EventEmitter'<br>
incorrectly implements interface 'NodeJS.EventEmitter'.<br>
Property 'prependListener' is missing in type 'EventEmitter'.</p>
<p dir="auto">I guess it should be 'extends' rather than 'implements'.</p>
<p dir="auto">Hi,</p>
<p dir="auto">I'm getting this error with @types/express version upgrading from 4.17.7 to 4.17.8.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="node_modules/@types/express/index.d.ts(99,42): error TS2344: Type 'P' does not satisfy the constraint 'Params'.
  Type 'P' is not assignable to type 'ParamsArray'.
node_modules/@types/express/index.d.ts(108,124): error TS2344: Type 'P' does not satisfy the constraint 'Params'.
  Type 'P' is not assignable to type 'ParamsArray'.
node_modules/@types/express/index.d.ts(109,138): error TS2344: Type 'P' does not satisfy the constraint 'Params'.
  Type 'P' is not assignable to type 'ParamsArray'.`"><pre class="notranslate"><code class="notranslate">node_modules/@types/express/index.d.ts(99,42): error TS2344: Type 'P' does not satisfy the constraint 'Params'.
  Type 'P' is not assignable to type 'ParamsArray'.
node_modules/@types/express/index.d.ts(108,124): error TS2344: Type 'P' does not satisfy the constraint 'Params'.
  Type 'P' is not assignable to type 'ParamsArray'.
node_modules/@types/express/index.d.ts(109,138): error TS2344: Type 'P' does not satisfy the constraint 'Params'.
  Type 'P' is not assignable to type 'ParamsArray'.`
</code></pre></div>
<p dir="auto">I'm using latest express: <code class="notranslate">"express": "4.17.1",</code><br>
and typescript: "typescript": "3.9.7"<br>
I've tried also with the latest typescript version ("4.0.2") and I get the same.</p>
<p dir="auto">Any help on this issue?</p>
<p dir="auto">Authors:<br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/borisyankov/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/borisyankov">@borisyankov</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/puneetar/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/puneetar">@puneetar</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/dfrankland/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dfrankland">@dfrankland</a></p>