(state: State, totalChoices: number)
| 200 | } |
| 201 | |
| 202 | function processCursorDown(state: State, totalChoices: number) { |
| 203 | const newIndex = (state.index + 1) % totalChoices |
| 204 | return Effect.succeed(Action.NextFrame({ state: { ...state, index: newIndex } })) |
| 205 | } |
| 206 | |
| 207 | function processSpace<A>( |
| 208 | state: State, |
no outgoing calls
no test coverage detected
searching dependent graphs…