Skip to content

addEventListener third param type #14188

Closed
@mkusher

Description

@mkusher

According to https://dom.spec.whatwg.org/#interface-eventtarget addEventListener's third param should be of type boolean | AddEventListenerOptions. Should it be changed in ts libs and if so, then where should it be changed?
https://github.com/Microsoft/TypeScript/blob/master/lib/lib.dom.d.ts#L3719

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 issueHelp WantedYou can do this

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions