| 17 | export type Loop<S> = [S, CmdType]; |
| 18 | |
| 19 | export interface LoopReducer<S, A extends Action = AnyAction> { |
| 20 | (state: S | undefined, action: WithDefaultActionHandling<A>, ...args: any[]): |
| 21 | | S |
| 22 | | Loop<S>; |
| 23 | } |
| 24 | |
| 25 | export interface LoopReducerWithDefinedState<S, A extends Action = AnyAction> { |
| 26 | (state: S, action: WithDefaultActionHandling<A>, ...args: any[]): S | Loop<S>; |
nothing calls this directly
no outgoing calls
no test coverage detected