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: better handling of union return types #121

Merged
merged 1 commit into from
Sep 23, 2024

Conversation

MarshallOfSound
Copy link
Member

Fixes #93

It's non trivial to support this syntax so let's spit out a helpful error message instead.

@MarshallOfSound MarshallOfSound requested a review from a team as a code owner September 23, 2024 00:53
@ckerr
Copy link
Member

ckerr commented Sep 23, 2024

CI is failing because prettier is unhappy

Fixes #93

It's non trivial to support this syntax so let's spit out a helpful error message instead.
@MarshallOfSound
Copy link
Member Author

Oops, updated

@MarshallOfSound MarshallOfSound merged commit fc8da34 into main Sep 23, 2024
3 checks passed
@MarshallOfSound MarshallOfSound deleted the better-return-union branch September 23, 2024 02:51
Copy link

🎉 This PR is included in version 1.2.2 🎉

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.

Bad Typing of Return Type with Union
2 participants