currentTarget - a reference to the element on which the event listener is registered.
target - a reference to the element from which the event was originally dispatched.
This might be a child element to the element on which the event listener is registered.
If you thought this should be EventTarget & T, see https://github.com/DefinitelyTyped/DefinitelyTyped/pull/12239
currentTarget - a reference to the element on which the event listener is registered.
target - a reference to the element from which the event was originally dispatched. This might be a child element to the element on which the event listener is registered. If you thought this should be
EventTarget & T
, see https://github.com/DefinitelyTyped/DefinitelyTyped/pull/12239