Skip to content

Types are packaged/exposed incorrectly #104

Description

@wKovacs64

Your Environment

  • jsSHA version: 3.3.1
  • JavaScript engine and version: Node 18.17.1
  • How was jsSHA imported (ESM or other): all? TS/ESM for sure.

Describe the bug

https://arethetypeswrong.github.io/?p=jssha%403.3.1

Code

import jsSHA from 'jssha/dist/sha1'; // just an example

Additional context

I know, I know - the CJS/ESM/types situation is a mess across the ecosystem right now. 😢 I'll try to play around with a solution if I get the chance, just wanted to raise an issue to get the ball rolling.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions