I installed svg.js as a dev dependency. It appears in my package.json as svg.js": "^2.6.6".
I can import the library in a javascript file with:
import SVG from 'svg.js';
However, if I do the same thing in a Typescript file, I get the error: "cannot find module svg.js".
I also have a folder called "typings" with the type definition file available on the svg.js website.
Why can't I use this library?