FrontPastel/node_modules/@mui/utils/debounce/debounce.d.ts

5 lines
160 B
TypeScript

export interface Cancelable {
clear(): void;
}
export default function debounce<T extends (...args: any[]) => any>(func: T, wait?: number): T & Cancelable;