UNPKG

226 BTypeScriptView Raw
1import type { Memoized } from './types';
2interface Options {
3 getInstanceId?: () => string;
4}
5export declare function memoize<T, F extends (...args: any[]) => T>(fn: F, { getInstanceId }?: Options): Memoized<F>;
6export {};