title: Reactjs and Typescript - Property 'select' does not exist on type 'EventTarget'
body: <p>This type checking problem took me all day and I still have not solved it. I searched everywhere, but I see that no one has gone through it. Could someone give me a light? thank you!</p>
  
  <pre><code> &lt;input
          type="text"
          value={shareURLValue}
          className={classnames("share-url-holder", {
              shared: Boolean(shareId) &amp;&amp; !shareHidden,
          })}
          ref={saveShareURLRef}
          onClick={e =&gt; {
              e.target.select(); #Property 'select' does not exist on type 'EventTarget'.
          }}
          onKeyUp={e =&gt; {
              e.target.select(); #Property 'select' does not exist on type 'EventTarget'.
          }}
      /&gt;
  </code></pre>