Skip to content
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

Resolve TypeScript ES Environment Errors by Correcting 'module' and 'types' Fields #59

Merged
merged 1 commit into from
Dec 29, 2023

Conversation

zuhno
Copy link
Contributor

@zuhno zuhno commented Dec 27, 2023

Changes:

  1. Changed the module field to point to an ES file instead of a CJS file.
  2. Added the types field under exports > "."

The root types path has been retained for backward compatibility. Please review and let me know if there are any issues.
Thank you.

@kasvith
Copy link
Collaborator

kasvith commented Dec 29, 2023

thanks @zuhno

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.

2 participants