title: TypeScript types for TextInput's onChange event in React Native
body: <p>I have a React Native Expo project using TypeScript. How can I add types for the <code>onChange</code> event for the <code>TextInput</code>? </p>
  
  <pre><code>    &lt;TextInput
        keyboardType="numeric"
        value={`${value}`}
        onChange={(e: React.FormEvent&lt;HTMLInputElement&gt;): void =&gt; {
          set({ value: e.target.value });
        }}
      /&gt;
  </code></pre>
  
  <p>I'm getting this error: </p>
  
  <blockquote>
    <p>TS2339: Property "value" does not exist on type "EventTarget"</p>
  </blockquote>