File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
packages/automation/src/lib Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -366,6 +366,7 @@ export class StateMachine {
366366 toState,
367367 } ;
368368
369+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- Listeners can be any type
369370 const listeners : Listener < any > [ ] = [ ] ;
370371 const checks : CheckFn [ ] = [ ] ;
371372
Original file line number Diff line number Diff line change @@ -7,7 +7,8 @@ type Values = (unknown | undefined)[];
77
88export interface BaseTransitionParams {
99 debug ?: boolean ;
10- listeners ?: Listener < any > [ ] ; // should be unknown but that demands callers to cast listeners to their correct type
10+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- Listeners can be any type
11+ listeners ?: Listener < any > [ ] ;
1112 check ?: CheckFn ;
1213 onMatch : resultFn ;
1314 onMismatch ?: resultFn ;
You can’t perform that action at this time.
0 commit comments