Closed msrumon closed 3 months ago
Noticed this as well,
Adding "skipLibCheck": true,
does bypass the error though @msrumon
Use import interact from 'interactjs';
@msrumon try importing via
const interactjs = require('interactjs');
Seem this library missing some ESM compatibility
As for me library compiled without warnings and disabled skipLibCheck
If you have an ESM project, you should use the @interactjs/interactjs
package which provides unbundled modules instead of the bundled interactjs
package.
While integrating this library with Angular, it throws a bunch of TS errors:
Demo