docs: remove type arguments passed to createWorkflow (#8161)
This commit is contained in:
@@ -32,14 +32,9 @@ const step1 = createStep(
|
||||
}
|
||||
)
|
||||
|
||||
type WorkflowOutput = {
|
||||
message: string
|
||||
}
|
||||
|
||||
const myWorkflow = createWorkflow<
|
||||
{},
|
||||
WorkflowOutput
|
||||
>("hello-world", function () {
|
||||
const myWorkflow = createWorkflow(
|
||||
"hello-world",
|
||||
function () {
|
||||
const str1 = step1()
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user