Files
NapCatQQ/.pnpm-store/v3/files/93/a1c77e00ececeafc2edec6fd3f024d6092caf0b8110469ace6d1954151214374a87ec11c156bb93f11fbd55861d4aa04d64475b90a20aed68434cdd53bda8a
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

9 lines
372 B
Plaintext

import type { ThrottleOptions } from '../useThrottle/throttleOptions';
type noop = (...args: any[]) => any;
declare function useThrottleFn<T extends noop>(fn: T, options?: ThrottleOptions): {
run: import("lodash").DebouncedFuncLeading<(...args: Parameters<T>) => ReturnType<T>>;
cancel: () => void;
flush: () => ReturnType<T>;
};
export default useThrottleFn;