UNPKG

@apollo/client

Version:

A fully-featured caching GraphQL client.

7 lines 310 B
/** * Naive alternative to `wrap` without any dependency tracking, potentially avoiding resulting memory leaks. */ export declare function memoize<TArgs extends any[], TResult>(fn: (...args: TArgs) => TResult, { max }: { max: number; }): (...args: TArgs) => TResult; //# sourceMappingURL=memoize.d.ts.map