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: expose types for esm/api #551

Merged
merged 3 commits into from
May 13, 2024
Merged

Conversation

antfu
Copy link
Sponsor Contributor

@antfu antfu commented May 13, 2024

I was using ReturnType<typeof register> to get the type - which I wasn't able to get the overloads with namespaced one. I think it would be nice to expose them.

@privatenumber
Copy link
Owner

Sounds good. I think you'll want to re-export them here too:
https://github.com/privatenumber/tsx/blob/master/src/esm/api/index.ts

@privatenumber privatenumber merged commit 2c87fc1 into privatenumber:master May 13, 2024
3 checks passed
@privatenumber
Copy link
Owner

🎉 This issue has been resolved in v4.10.2

If you appreciate this project, please consider supporting this project by sponsoring ❤️ 🙏

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.

None yet

2 participants