title: @types/react/index\"' has no default export.",
body: <p>I am using latest React, for brevity I wish to use in my code <code>useState</code> instead to React.useState.</p>
  
  <p>Now I have this code:</p>
  
  <p><code>import *  as React  from 'react'</code></p>
  
  <p>How to change the import so <code>useState</code> can be taken directly?</p>
  
  <p>If I use <code>import React, { useState } from 'react';</code> I get error:</p>
  
  <pre><code>@types/react/index\"' has no default export.",
  </code></pre>