As of today (Feb 2022) TypeScript type definition files lack Crypto API's randomUUID method. I came up with this short solution which doesn't require modifying the typedef files. It is a simple workaround which exports the randomUUID method as gener...

Markdown supported · ⌘↵ to post
No responses yet.