UNPKG

@coko/client

Version:

Client side common code for coko apps

7 lines (6 loc) 480 B
export declare function debounce<T extends (...args: any[]) => any>(func: T, wait: number): (...args: Parameters<T>) => void; export declare function get<T = any>(object: Record<string, any> | null | undefined, path: string | string[], defaultValue?: T): T | undefined; export declare const noop: () => void; export declare const asyncNoop: () => Promise<void>; export declare const uniq: <T>(arr: T[]) => T[]; export declare function without<T>(array: T[], ...values: T[]): T[];