(value: number | undefined)
| 47 | } |
| 48 | |
| 49 | function clampFilesPerTick(value: number | undefined): number { |
| 50 | if (!Number.isFinite(value)) return DEFAULT_FILES_PER_TICK; |
| 51 | return Math.max(MIN_FILES_PER_TICK, Math.min(MAX_FILES_PER_TICK, Math.floor(value ?? DEFAULT_FILES_PER_TICK))); |
| 52 | } |
| 53 | |
| 54 | function clampDebounceMs(value: number | undefined): number { |
| 55 | if (!Number.isFinite(value)) return DEFAULT_DEBOUNCE_MS; |
no outgoing calls
no test coverage detected