You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, only a handful of the event properties are defined as a TypedTargetEvent, some are plain dom.Event. For convenience, it would be good if we could assume this for every event, i.e., every event is at least a TypedTargetEvent[dom.EventTarget].
The text was updated successfully, but these errors were encountered:
But dom.Event from scala-js-dom already has target typed as dom.EventTarget, no need for TypedTargetEvent[dom.EventTarget]. Or did you mean something else?
My use-case was that I wanted my EventPropBuilder to produce events of type TypedTargetEvent[_ <: dom.EventTarget]. But actually, I do not really need it anymore, so I can think we can close it again :)
Currently, only a handful of the event properties are defined as a
TypedTargetEvent
, some are plaindom.Event
. For convenience, it would be good if we could assume this for every event, i.e., every event is at least aTypedTargetEvent[dom.EventTarget]
.The text was updated successfully, but these errors were encountered: