UNPKG

ant-design-vue

Version:

An enterprise-class UI design language and Vue-based implementation

7 lines (6 loc) 259 B
type throttledFn = (...args: any[]) => void; type throttledCancelFn = { cancel: () => void; }; declare function throttleByAnimationFrame<T extends any[]>(fn: (...args: T) => void): throttledFn & throttledCancelFn; export default throttleByAnimationFrame;