title: React js Typescript Argument of type 'string' is not assignable to parameter of type 'SetStateAction<number>'
body: <p>Hello I'm having this error:</p>
  <pre><code>Argument of type 'string' is not assignable to parameter of type 'SetStateAction&lt;number&gt;'.
  </code></pre>
  <p>this is a part of my code:</p>
  <pre><code>.
  .
  .
  const[ idPadre, setIdPadre ] = useState&lt;number&gt;(0);
  .
  .
  .
  
  &lt;select 
         onChange={ (e) =&gt; setIdPadre( e.target.value ) }
         value={ idPadre }
  &gt;
  &lt;option value=&quot;&quot;&gt;Select...&lt;/option&gt;
         {data.map((item) =&gt; {
                              return &lt;option key={item.id}
                                      value={ item.id }
                              &gt;{item.description}&lt;/option&gt;
                              })}                                
  &lt;/select&gt;
  </code></pre>
  <p>so, I'm adding data from file json and I want that select an item and value get id.</p>