addEventListener third param type #14188
Labels
Bug
A bug in TypeScript
Domain: lib.d.ts
The issue relates to the different libraries shipped with TypeScript
Fixed
A PR has been merged for this issue
Help Wanted
You can do this
Milestone
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
The text was updated successfully, but these errors were encountered: