( state: NumberState, leadingSymbol: string, trailingSymbol: string, options: IntOptionsReq, theme: Theme, renderOptions?: RenderOptions | undefined, submitted: boolean = false )
| 3037 | } |
| 3038 | |
| 3039 | const renderNumberOutput = ( |
| 3040 | state: NumberState, |
| 3041 | leadingSymbol: string, |
| 3042 | trailingSymbol: string, |
| 3043 | options: IntOptionsReq, |
| 3044 | theme: Theme, |
| 3045 | renderOptions?: RenderOptions | undefined, |
| 3046 | submitted: boolean = false |
| 3047 | ) => { |
| 3048 | const value = renderNumberInput(state, submitted, theme, renderOptions) |
| 3049 | return renderPrompt(value, options.message, leadingSymbol, trailingSymbol, theme, renderOptions) |
| 3050 | } |
| 3051 | |
| 3052 | const renderNumberNextFrame = Effect.fnUntraced(function*(state: NumberState, options: IntOptionsReq) { |
| 3053 | const figures = yield* getTheme(options) |
no test coverage detected