scala-js/scala-js-dom

removeEventListener should take `js.Function1[_ <: Event, _]`

mpartel opened this issue · 3 comments

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, _].

This has already been addressed in 3c689a7

It should be publicly available already, in version 0.8.2.

Ah, sorry, I thought my deps were more up to date than they actually were.

No problem :)