Hi,
I am developing for the browser using webpack.
I did the following to install the package and its Typescript bindings for the browser:
npm i --S jsts
npm i --D @types/jsts
After that, I can do:
import OL3Parser from 'jsts/org/locationtech/jts/io/OL3Parser';
... but I get a Typescript type-checking error:
TS7016: Could not find a declaration file for module 'jsts/org/locationtech/jts/io/OL3Parser'. '/home/some/path/node_modules/jsts/org/locationtech/jts/io/OL3Parser.js' implicitly has an 'any' type.
Any ideas?