throttle.d.ts 194 B

12
  1. export declare function debounce(callback: (...args: [any]) => void, delay: number): () => void;
  2. export declare function throttle(callback: (...args: [any]) => void, delay: number): () => void;