title: TypeScript React Native property 'target' does not exist on type 'string'
body: <p>I'm making input component in typescript for my mobile app. I'm trying to handle change of the text in text input with useState hook, so I created this:
  <code>const [password, setPassword] = useState('');</code>
  now I have a input component:
  <code>&lt;TextInput value={password} onChangeText={(e) =&gt; setPassword(e.target.value)} /&gt;</code>, and I get an error which says: &quot;property 'target' does not exist on type 'string&quot;</p>