Closed mrtnlrsn closed 1 month ago
@mrtnlrsn I'll just remove the exports
for now, I was fighting a similar typing issue and that seemed to be the new suggsetion for exporting (Ref) https://nodejs.org/api/packages.html#exports but it just seems to do more pain than good.
Try: v12.7.1 - If that works feel free to close this issue.
this works, thanks.
Hi
In my unit test files (not my main files, I do not understand why there is a difference) I get
Removing the newly added
exports
property from yourpackage.json
fixes it. Alternatively the below version also seems to work. However, I don't fully comprehend this, so I don't know if either is a solution...