utils-lib-js
Version:
JavaScript工具函数,封装的一些常用的js函数
14 lines (13 loc) • 493 B
TypeScript
import { ICatchAwait, IThrottle, IDebounce, IDefer, IRequestFrame } from "./types";
export declare const throttle: IThrottle;
export declare const debounce: IDebounce;
export declare const defer: IDefer;
export declare const catchAwait: ICatchAwait<Promise<any>>;
export declare const requestFrame: IRequestFrame;
declare const _default: {
throttle: IThrottle;
debounce: IDebounce;
defer: IDefer;
catchAwait: ICatchAwait<Promise<any>>;
};
export default _default;