docs: remove type arguments passed to createWorkflow (#8161)

This commit is contained in:
Shahed Nasser
2024-07-17 15:19:51 +03:00
committed by GitHub
parent e5c66fa670
commit b1964a0384
11 changed files with 62 additions and 132 deletions
@@ -62,14 +62,9 @@ import {
// ...
type WorkflowOutput = {
message: string
}
const myWorkflow = createWorkflow<
{},
WorkflowOutput
>("hello-world", function (input) {
const myWorkflow = createWorkflow(
"hello-world",
function (input) {
const str1 = step1()
step2()