Skip to content

bugfix: Correctly import 'uuid' package #82#83

Open
nftleader wants to merge 1 commit intoxf00f:masterfrom
nftleader:bugfix/uuid-default-export
Open

bugfix: Correctly import 'uuid' package #82#83
nftleader wants to merge 1 commit intoxf00f:masterfrom
nftleader:bugfix/uuid-default-export

Conversation

@nftleader
Copy link
Copy Markdown

This PR fixes #82

Attempted import error: 'uuid' does not contain a default export (imported as 'uuid').

by updating
import uuid from 'uuid';
to
import * as uuid from 'uuid';

This fixes the following typescript error
Attempted import error: 'uuid' does not contain a default export (imported as 'uuid').
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect import of dependency 'uuid'

1 participant