title: Error import javascript library in typescript
body: <p>I want import javascript library. that is akarata library. I import like in suggestion in internet like this:</p>
  
  <pre><code>import * as akarata from 'akarata/dist';
  </code></pre>
  
  <p>or</p>
  
  <pre><code>import * as akarata from 'akarata';
  </code></pre>
  
  <p>still get an error like this </p>
  
  <blockquote>
    <p>Try npm install @types/akarata if it exists or add a new
    declaration (.d.ts) file containing declare module 'akarata';</p>
  </blockquote>
  
  <p>but I tried it nothing happened.</p>
  
  <p>and the weird is. just first I type <code>ng serve</code> , because I use angular, the error appear. and after I make a bit change of my project and then I save it. I still get error but my project works. The library works well too.</p>
  
  <p>Is anyone know why it like that?</p>