Properties
altKey
altKey: boolean
cancelable
cancelable: boolean
charCode
charCode: number
code
code: string
ctrlKey
ctrlKey: boolean
currentTarget
currentTarget: EventTarget & T
defaultPrevented
defaultPrevented: boolean
eventPhase
eventPhase: number
isTrusted
isTrusted: boolean
key
key: string
keyCode
keyCode: number
locale
locale: string
location
location: number
metaKey
metaKey: boolean
nativeEvent
nativeEvent: KeyboardEvent
repeat
repeat: boolean
shiftKey
shiftKey: boolean
target
target: EventTarget
timeStamp
timeStamp: number
which
which: number
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/issues/11508#issuecomment-256045682