removeEventListener should take `js.Function1[_ <: Event, _]`
mpartel opened this issue · 3 comments
mpartel commented
EventTarget#addEventListener
takes a js.Function1[T, _]
for any T <: Event
but EventTarget#removeEventListener
only accepts a js.Function1[Event, _]
. It should probably also take a js.Function1[T, _]
.
mseddon commented
This has already been addressed in 3c689a7
It should be publicly available already, in version 0.8.2
.
mpartel commented
Ah, sorry, I thought my deps were more up to date than they actually were.
mseddon commented
No problem :)