@aurigma/design-atoms-model
Version:
Design Atoms is a part of Customer's Canvas SDK which allows for manipulating individual design elements through your code.
17 lines (16 loc) • 457 B
TypeScript
import { Cancelable } from "./debounce";
/**
* @deprecated
* @hidden
*/
interface ThrottleSettings {
leading?: boolean;
trailing?: boolean;
}
/**
* This is copy a function of lodash. See docs lodash.throttle. Please do not use this outside Design Atoms.
* @deprecated
* @hidden
*/
export declare function throttle<T extends (...args: any) => any>(func: T, wait: number, options?: ThrottleSettings): T & Cancelable;
export {};