UNPKG

@tempfix/watcher

Version:

The file system watcher that strives for perfection, with no native dependencies and optional rename detection support.

8 lines (7 loc) 265 B
import type { FN, Debounced } from './types.js'; declare const debounce: <Args extends unknown[]>(fn: FN<Args, unknown>, wait?: number, options?: { leading?: boolean; trailing?: boolean; maxWait?: number; }) => Debounced<Args>; export default debounce;