I want import javascript library. that is akarata library. I import like in suggestion in internet like this:
import * as akarata from 'akarata/dist';
or
import * as akarata from 'akarata';
still get an error like this
Try npm install @types/akarata if it exists or add a new declaration (.d.ts) file containing declare module 'akarata';
but I tried it nothing happened.
and the weird is. just first I type ng serve
, 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.
Is anyone know why it like that?