Skip to content

cjs export is broken when importHelpers is set to true in tsconfig on consumer side #53

@himanshuchawla009

Description

@himanshuchawla009
  • Importing this library and calling any of the function fails in node js.

For ex:
Both code snippets fails with error: encode is not a function

import bs58 from "bs58";

bs58.encode(...)

import * as  bs58 from "bs58";

bs58.encode(...)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions