title: styled jsx for Inferno in typescript
body: <p>How can I write definitions for Inferno.js</p>
  
  <pre><code>import 'react';
  
  declare module 'react' {
    interface StyleHTMLAttributes&lt;T&gt; extends React.HTMLAttributes&lt;T&gt; {
      jsx?: boolean;
      global?: boolean;
    }
  }
  </code></pre>
  
  <p>because </p>
  
  <pre><code>export const Footer = props =&gt;
    &lt;footer&gt;
      &lt;style jsx&gt;{`{
        color: green;
      }`}&lt;/style&gt;
  
    &lt;/footer&gt;
  </code></pre>
  
  <p>causes an error.</p>
  
  <blockquote>
    <p>[ts] Property 'jsx' does not exist on type 'DetailedHTMLProps, HTMLStyleElement>'.</p>
  </blockquote>