title: Typescript - is there a type for "(event: MouseEvent<HTMLButtonElement>) => void"?
body: <p>I find I'm repeating the same type <code>(event: MouseEvent&lt;HTMLButtonElement&gt;) =&gt; void</code> over and over again in just about every component that has a click event (all buttons in my case). It seems like there should be a simpler <code>ButtonClick</code> type or similar for something as common as this.</p>
  
  <p>Does anything like this exist or should I just export my own global interface/type for this so I don't keep repeating myself? Something like:</p>
  
  <pre><code>export interface I_ButtonClick {
    (event: MouseEvent&lt;HTMLButtonElement&gt;): void;
  }
  </code></pre>
  
  <p>or </p>
  
  <pre><code>export type T_ButtonClick = (event: MouseEvent&lt;HTMLButtonElement&gt;) =&gt; void;
  </code></pre>