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

fix: typescript type exports #452

Merged
merged 1 commit into from
Nov 22, 2023
Merged

Conversation

dcposch
Copy link
Contributor

@dcposch dcposch commented Nov 15, 2023

Description

Fix typescript exports.

This makes it easy to install and import from @semaphore-protocol/* in a latest-version/default-configuration Typescript project.

Related Issue

Importing @semaphore/<x> in a Node 20 Typescript project currently fails with the following error:

image

This appears to be because Typescript is looking for package.json > "exports" > "types".

Does this introduce a breaking change?

  • Yes
  • No

@cedoor cedoor self-requested a review November 22, 2023 10:56
@cedoor cedoor merged commit d008d62 into semaphore-protocol:main Nov 22, 2023
2 of 3 checks passed
Copy link

gitpoap-bot bot commented Nov 22, 2023

Congrats, your important contribution to this open-source project has earned you a GitPOAP!

GitPOAP: 2023 Semaphore Contributor:

GitPOAP: 2023 Semaphore Contributor GitPOAP Badge

Head to gitpoap.io & connect your GitHub account to mint!

Learn more about GitPOAPs here.

@cedoor
Copy link
Member

cedoor commented Nov 22, 2023

@dcposch Thanks a lot!

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