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
which is incorrect. event.target is the HTMLElement that is being clicked on, while event.currentTarget is where handlers has been set. It is impossible for one to know the target (what is clicked on) at compile time, thus specifying T makes no sense. The HTMLElement where I attached events is known at compile time, thus T can be specified for currentTarget
Activity
alitaheri commentedon Sep 7, 2016
Seems like this can be closed as it was fixed in #10784 and released as
@types/react v0.14.34