-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Types don't match code when this library is used in ESM #38
Comments
Hmm, I'm having trouble getting this library to work in all scenarios when using ESM. Sometimes it needs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This library is CJS, so when used from an ESM module, you have to do this:
However, this doesn't match up with the published types, which expect the default export to be used directly.
The text was updated successfully, but these errors were encountered: