Skip to content

Commit d0ce0cb

Browse files
committed
fix typing
1 parent d86a797 commit d0ce0cb

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

apps/sim/stores/operation-queue/store.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,17 @@ let emitSubblockUpdate:
2828
blockId: string,
2929
subblockId: string,
3030
value: any,
31-
operationId?: string,
32-
workflowId?: string
31+
operationId: string | undefined,
32+
workflowId: string
3333
) => void)
3434
| null = null
3535
let emitVariableUpdate:
3636
| ((
3737
variableId: string,
3838
field: string,
3939
value: any,
40-
operationId?: string,
41-
workflowId?: string
40+
operationId: string | undefined,
41+
workflowId: string
4242
) => void)
4343
| null = null
4444

@@ -48,15 +48,15 @@ export function registerEmitFunctions(
4848
blockId: string,
4949
subblockId: string,
5050
value: any,
51-
operationId?: string,
52-
workflowId?: string
51+
operationId: string | undefined,
52+
workflowId: string
5353
) => void,
5454
variableEmit: (
5555
variableId: string,
5656
field: string,
5757
value: any,
58-
operationId?: string,
59-
workflowId?: string
58+
operationId: string | undefined,
59+
workflowId: string
6060
) => void,
6161
workflowId: string | null
6262
) {

0 commit comments

Comments
 (0)