svelte-settings
Version:
> [!WARNING] > This project is a work in progress. Do not use it in any of your projects yet.
4 lines (3 loc) • 298 B
TypeScript
export declare function debounce<F extends (...args: any[]) => void>(callback: F, wait: number, immediate?: boolean): F;
export declare function throttle<F extends (...args: any[]) => void>(callback: F, wait: number): (...args: Parameters<F>) => void;
export declare function createUUID(): string;