(options: IntegerOptions)
| 201 | } |
| 202 | |
| 203 | function handleRenderInteger(options: IntegerOptions) { |
| 204 | return (state: State, action: Prompt.Prompt.Action<State, Number>) => { |
| 205 | return Action.$match(action, { |
| 206 | Beep: () => Effect.succeed(renderBeep), |
| 207 | NextFrame: ({ state }) => renderNextFrame(state, options), |
| 208 | Submit: () => renderSubmission(state, options) |
| 209 | }) |
| 210 | } |
| 211 | } |
| 212 | |
| 213 | function handleProcessInteger(options: IntegerOptions) { |
| 214 | return (input: Terminal.UserInput, state: State) => { |
no test coverage detected