TypeScript utility type to extract the output type from a Task.
type EmailOutput = InferTaskOutput<typeof emailTask>// Result: { messageId: string } Copy
type EmailOutput = InferTaskOutput<typeof emailTask>// Result: { messageId: string }
TypeScript utility type to extract the output type from a Task.