/** * https://codeburst.io/throttling-and-debouncing-in-javascript-b01cad5c8edf * * @param {function} func * @param {number} limit * @returns {((...args: any[]) => void) & { cancel: () => void }} */ export default function throttle(func: Function, limit: number): ((...args: any[]) => void) & { cancel: () => void; }; //# sourceMappingURL=throttle.d.ts.map