throttleByAnimationFrame.d.ts 176 B

12345
  1. declare function throttleByAnimationFrame<T extends any[]>(fn: (...args: T) => void): {
  2. (...args: T): void;
  3. cancel(): void;
  4. };
  5. export default throttleByAnimationFrame;