Wrong types payload input events
Closed this issue · 0 comments
alreadyExisted commented
Version: 2.2.2
Argument of input's onInput callback must be InputHTMLAttributes type.
Actual behavior:
<input
onInput={e => console.log(e.target && e.target.value)}
// Property 'value' does not exist on type 'EventTarget'
/>
Expected behavior
<input
onInput={e => console.log(e.target.value)}
/>