Open
Description
Describe the bug
Every step.run
function returns unknown
instead of the correct type.
I don't know the reason. I suspect it has something to do with unions or complex types.
I'm currently using effect and happens with Option
, Either
or Effect
types.
To Reproduce
https://codesandbox.io/p/sandbox/inngest-run-returns-unknown-c49kdd
Expected behavior
It should return the same type as the step.run
callback returns.
Code snippets / Logs / Screenshots
https://codesandbox.io/p/sandbox/inngest-run-returns-unknown-c49kdd
System info (please complete the following information):
- Typescript Version 5.7.2
- npm package Version 3.28.0
Additional context
Metadata
Metadata
Assignees
Labels
No labels