From c2ba65dd703cff87f4e1936218c2398895428eb3 Mon Sep 17 00:00:00 2001 From: Mihael Konjevic Date: Sun, 8 Sep 2024 23:54:13 +0200 Subject: [PATCH] fix: types for .condition method on OrXorTaskFlowBuilder --- src/builder/FlowBuilder.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/builder/FlowBuilder.ts b/src/builder/FlowBuilder.ts index 1160209..a8785b5 100644 --- a/src/builder/FlowBuilder.ts +++ b/src/builder/FlowBuilder.ts @@ -139,7 +139,7 @@ export class OrXorTaskFlowBuilder< return this; } condition( - conditionName: TTasks & string, + conditionName: TConditions & string, predicate: (payload: { context: TContext; }) => Effect.Effect