UNPKG
antd-v5
Version:
latest (5.14.1)
5.14.1
An enterprise-class UI design language and React components implementation
ant.design
antd-v5
/
lib
/
_util
/
throttleByAnimationFrame.d.ts
6 lines
(5 loc)
•
176 B
TypeScript
View Raw
1
2
3
4
5
6
declare
function
throttleByAnimationFrame<T
extends
any
[]>(
fn
:
(
...
args
: T
) =>
void
): { (...
args
: T):
void
;
cancel
():
void
; };
export
default
throttleByAnimationFrame;