| 2 | import { debounce as utilsDebounce } from '@/lib/utils'; |
| 3 | |
| 4 | interface DebouncedFunction { |
| 5 | // eslint-disable-next-line @typescript-eslint/no-explicit-any |
| 6 | (...args: any[]): void; |
| 7 | cancel?: () => void; |
| 8 | } |
| 9 | |
| 10 | /** |
| 11 | * A hook that returns a debounced version of the provided function. |
nothing calls this directly
no outgoing calls
no test coverage detected