jagran-react-doc-viewer
Version:
A highly customizable React document viewer with support for PDF, DOCX, PPTX, images, and more
10 lines • 538 B
TypeScript
/**
* Creates a debounced function that delays invoking `func` until after `delay`
* milliseconds have passed since the last time the debounced function was invoked.
*
* @param {T} func The function to debounce.
* @param {number} [delay=1000] The number of milliseconds to delay.
* @returns {(...args: Parameters<T>) => void} Returns the new debounced function.
*/
export declare function debounce<T extends (...args: any[]) => any>(func: T, delay?: number): (...args: Parameters<T>) => void;
//# sourceMappingURL=debounce.d.ts.map