uuidjs/uuid

Default import is not working in typescript

tbhaxor opened this issue · 1 comments

Describe the bug

UUID has not been working in my typescript project but is working in node.js

How to reproduce

image

image

Expected behavior

Default export is messed up, need to be fixed. After that it should work like in nodejs

Runtime

  • OS: Linux
  • Runtime: Node.js, Typescript
  • Runtime Version: v15, v4.2.2

Additional information

image

There is not default export in uuid package. Commonjs does not have nor default export nor named exports. It has only module.exports reference.
See example https://github.com/uuidjs/uuid#quickstart