-
Notifications
You must be signed in to change notification settings - Fork 13.4k
addEventListener third param type #14188
Copy link
Copy link
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptThe issue relates to the different libraries shipped with TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issueHelp WantedYou can do thisYou can do this
Milestone
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptThe issue relates to the different libraries shipped with TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issueHelp WantedYou can do thisYou can do this
Type
Fields
Give feedbackNo fields configured for issues without a type.
According to https://dom.spec.whatwg.org/#interface-eventtarget
addEventListener's third param should be of typeboolean | 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