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

This commit is contained in:
Shahed Nasser
2024-07-17 13:19:51 +01:00
committed by GitHub
parent e5c66fa670
commit b1964a0384
11 changed files with 62 additions and 132 deletions
@@ -35,9 +35,9 @@ type WorkflowInput = {
is_active: boolean
}
const workflow = createWorkflow
<WorkflowInput, any>
("workflow", function (input) {
const workflow = createWorkflow(
"workflow",
function (input: WorkflowInput) {
const result = when(
input,
(input) => {