Skip to content

Commit

Permalink
fix: types for .condition method on OrXorTaskFlowBuilder
Browse files Browse the repository at this point in the history
  • Loading branch information
retro committed Sep 8, 2024
1 parent 9acff7c commit c2ba65d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/builder/FlowBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export class OrXorTaskFlowBuilder<
return this;
}
condition<TConditionR, TConditionE>(
conditionName: TTasks & string,
conditionName: TConditions & string,
predicate: (payload: {
context: TContext;
}) => Effect.Effect<boolean, TConditionE, TConditionR>
Expand Down

0 comments on commit c2ba65d

Please sign in to comment.