Using a function's output typescript types in the next step of the flow
I have a function whose output is properly typed but when I use that output as the next function's input, I am redefining the types. What is the recommended way for functions in a flow to share types?
1 Reply
Hi @Rico , they can all do a relative import from the same shared file in typescript but in general it's not a bad practice to redefine the type in a few places so that each script/step is independent and easily reusable