Files
tekelanew_acs/acs/nladmin-ui/node_modules/xe-utils/debounce.d.ts

27 lines
647 B
TypeScript
Raw Normal View History

2024-12-03 17:40:13 +08:00
export interface DebounceOptions {
/**
*
*/
leading?: boolean;
/**
*
*/
trailing?: boolean;
}
/**
* n
* @param callback
* @param wait
* @param options
*/
export declare function debounce<C = any>(callback: (this: C, ...args: any[]) => any, wait: number, options?: DebounceOptions): (this: C, ...args: any[]) => any;
declare module './ctor' {
interface XEUtilsMethods {
debounce: typeof debounce;
}
}
export default debounce