title: How to add custom HTML tag TSX
body: <p>While trying to render a custom HTML tag <code>&lt;my-element&gt;</code> in JSX an error displayed
  <strong>Property does not exist on type 'JSX.IntrinsicElements'</strong></p>
  
  <p>I've found some examples of how to do that using </p>
  
  <pre class="lang-js prettyprint-override"><code>declare global {
    interface IntrinsicElements {
      "my-element": any
    }
  }
  </code></pre>
  
  <p>but this produced another error:</p>
  
  <blockquote>
    <p>ES2015 module syntax is preferred over custom TypeScript modules and namespaces  @typescript-eslint/no-namespace</p>
  </blockquote>