Closed lveillard closed 6 days ago
Latest commit: 09d41e0e03a592f98d5dcb61d82b36dba1308dbe
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
Btw only updating the types in the exports should do it as well. I think types is ignored when exports is defined
Thank yoU!
Can you add a changeset? This will trigger a patch
release.
Not familiar with changesets, does this work? Thanks!
Btw, it still causes some issues. I think it could be a good idea to have a .,mjs version as well? What do you think
@matthewp Could this be merged, VS Code is complaining about missing types for me and this would solve it
Could not find a declaration file for module 'robot3'. '~/workspace/gitlabs/v2.unicat.se/node_modules/robot3/machine.js' implicitly has an 'any' type.
There are types at '~/workspace/gitlabs/v2.unicat.se/node_modules/robot3/index.d.ts', but this result could not be resolved when respecting package.json "exports". The 'robot3' library may need to update its package.json or typings.
typescript v5.6.3, vsCode latest
Fixes the issue: