(value: number)
| 3083 | |
| 3084 | // `${-0}` is "0", which would drop a minus sign the user just typed. |
| 3085 | const formatNumberInput = (value: number): string => Object.is(value, -0) ? "-0" : `${value}` |
| 3086 | |
| 3087 | const defaultIntProcessor = (input: string, state: NumberState) => { |
| 3088 | if (state.value.length === 0 && input === "-") { |
no test coverage detected