Skip to content

Loading ESM in Typescript #191

@unional

Description

@unional

Describe the feature

Currently type: module is missing in the package.json.

This cause TypeScript to load the CJS code instead of ESM when moduleResolution: Node16/NodeNext.

Addinge type: module would address this issue.

Additional information

  • Would you be willing to help implement this feature?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions