How can I type response data from a invoke service (v5.x) #5081
Answered
by
davidkpiano
goldenratio
asked this question in
Q&A
-
Hey, I would like to have type completion for invoke (actor) Note: I provide actors to the machine externally with
Thanks for your help.. |
Beta Was this translation helpful? Give feedback.
Answered by
davidkpiano
Sep 22, 2024
Replies: 1 comment 1 reply
-
You can do so by using the |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
goldenratio
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can do so by using the
setup(…)
function and providing the actor. See here: https://stately.ai/docs/invoke#invoke-and-typescript