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

build: type exports #6

Merged
merged 1 commit into from
Dec 31, 2023
Merged

build: type exports #6

merged 1 commit into from
Dec 31, 2023

Conversation

jpwallace22
Copy link
Owner

Instead of relying on type declarations from dts this exports function types with each function.

The type declarations are also removed from the rollup (single entry) style so they can be imported on a per function base if desired. This should resolve #5 and pass the arethetypeswrong resolution error.

@jpwallace22 jpwallace22 merged commit a476fb2 into main Dec 31, 2023
@jpwallace22 jpwallace22 deleted the build/types branch December 31, 2023 17:25
@jpwallace22
Copy link
Owner Author

🎉 This PR is included in version 1.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Package is bundled incorrectly causing issues with types / ESM.
1 participant