Type declaration not working correctly

Hey, I'm using TypeScript and when trying to import anything from moonlink I get the following error

Could not find a declaration file for module 'moonlink.js'. 'node_modules/moonlink.js/dist/index.mjs' implicitly has an 'any' type.
  There are types at 'node_modules/moonlink.js/dist/index.d.ts', but this result could not be resolved when respecting package.json "exports". The 'moonlink.js' library may need to update its package.json or typings. ts(7016)


Not sure if this is something on my side but every other package is working fine.
Was this page helpful?