Skip to content

Commit bbc3726

Browse files
committed
fix(orap): task params should allow undefined of event flow
1 parent 3077381 commit bbc3726

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/orap/src/flow/event.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export class EventFlow implements Flow {
3838
return this
3939
}
4040

41-
task(params: TaskFlowParams): TaskFlow
41+
task(params?: TaskFlowParams): TaskFlow
4242
task(sm?: StoreManager | TaskFlowParams, context?: Context): TaskFlow {
4343
let tf: TaskFlow
4444
if (sm instanceof StoreManager) {

0 commit comments

Comments
 (0)