rse / pure-uuid

Pure JavaScript Based Universally Unique Identifiers (UUID)

Home Page:https://www.npmjs.com/package/pure-uuid

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue when using in typescript project

jondrummond-codeo opened this issue · comments

commented

The latest version (1.8.0) throws the following error when used in a typescript project. The previous version (1.7.0) works fine.

node_modules/pure-uuid/uuid.d.ts:70:1 - error TS2309: An export assignment cannot be used in a module with other exported elements.

70 export = UUID;
   ~~~~~~~~~~~~~~

For me, under TypeScript 5.2.2 I did not receive the problem. But I've tried to fix it in pure-uuid version 1.8.1. Can you retry with this version now?

commented

@rse That seems to have sorted the issue out. Thanks.