Skip to content

error TS2304: Cannot find name 'EventListenerOrEventListenerObject' #21922

@kube

Description

@kube

TypeScript Version: 2.8.0-dev.20180213

Search Terms:

  • Electron
  • Missing EventListenerOrEventListenerObject

Problem

EventListenerOrEventListenerObject is not defined anymore in lib.d.ts, (it seems it has been renamed simply as EventListener).

This causes electron.d.ts to throw two errors during compilation:

ERROR in /Users/kube/Code/PandaNote/node_modules/electron/electron.d.ts
(6005,46): error TS2304: Cannot find name 'EventListenerOrEventListenerObject'.

ERROR in /Users/kube/Code/PandaNote/node_modules/electron/electron.d.ts
(6007,49): error TS2304: Cannot find name 'EventListenerOrEventListenerObject'.

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptFixedA PR has been merged for this issue

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions