-
Notifications
You must be signed in to change notification settings - Fork 35
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
[BUG] 3.15.3 breaks union types returned from step.run #513
Comments
Updated: the issue started in 3.15.3 NOT 3.15.4 |
Thanks for the report, @gwax! I've added a fix for this at #512. You can test it out now with:
Looks like our supported TS versions have grown wider than unional/type-plus that we've been using for the occasional helper type. The same happened recently with sindresorhus/type-fest in #500. Let me know if the above works for you and I'll ship this tomorrow to fix. |
The above fix for this is shipped in v3.15.5. 🙂 |
I can confirm this is fixed. Thank you. |
Describe the bug
Since 3.15.3,
step.run
with union return types are being given return type ofPromise<any>
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No type errors
Code snippets / Logs / Screenshots
System info (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: