Skip to content

fix: better handling of union return types#121

Merged
MarshallOfSound merged 1 commit intomainfrom
better-return-union
Sep 23, 2024
Merged

fix: better handling of union return types#121
MarshallOfSound merged 1 commit intomainfrom
better-return-union

Conversation

@MarshallOfSound
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Member Author

Oops, updated

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

🎉 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