title: Typescript constraint validation API event type
body: <p>in a function passed to <code>onBlur</code> I need to access the <code>validity</code> object and the <code>checkValidity</code> function from <code>event.target</code> but I can't find a suitable type. Here's my code:</p>
  <pre><code>function validateOnBlur(event: React.FormEvent&lt;HTMLInputElement&gt;) {
    const { validity } = event.target; 
  
    // displays &quot;Property 'validity' does not exist on type 'FormEvent&lt;HTMLInputElement&gt;' &quot;
  }
  </code></pre>
  <p>Does anyone have an idea on which type should <code>event</code> be?</p>