UNPKG

@remcostoeten/fync

Version:

A unified TypeScript library for easy access to popular APIs (GitHub, Spotify, GitLab, etc.)

7 lines 262 B
type TMemoizeOptions = { ttl?: number; key?: string; }; export declare function memoize<T extends (...args: any[]) => any>(fn: T, getKey?: (...args: Parameters<T>) => string, options?: TMemoizeOptions): T; export {}; //# sourceMappingURL=memoize.d.ts.map