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
Activity
sgen commentedon Mar 13, 2017
Just ran into this when trying to call addEventListener from a wrapper function:
HolgerJeromin commentedon Aug 28, 2017
This is not fixed for document and others in TS 2.4.1 (and ts playground)
mhegazy commentedon Aug 29, 2017
Holger Jeromin (@HolgerJeromin) please file a new issue to track that.