# Installation
> `npm install --save @types/memoizee`

# Summary
This package contains type definitions for memoizee (https://github.com/medikoo/memoizee).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/memoizee.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/memoizee/index.d.ts)
````ts
declare namespace memoizee {
    interface Options<F extends (...args: any[]) => any> {
        length?: number | false | undefined;
        maxAge?: number | undefined;
        max?: number | undefined;
        preFetch?: number | true | undefined;
        promise?: boolean | "then" | "done" | "done:finally" | undefined;
        dispose?(value: any): void;
        async?: boolean | undefined;
        primitive?: boolean | undefined;
        normalizer?(args: Parameters<F>): string;
        resolvers?: Array<(arg: any) => any> | undefined;
        profileName?: string;
    }

    interface Memoized<F extends (...args: any[]) => any> {
        delete: (...args: Parameters<F>) => void;
        clear: () => void;
    }
}

declare function memoizee<F extends (...args: any[]) => any>(
    f: F,
    options?: memoizee.Options<F>,
): F & memoizee.Memoized<F>;

export = memoizee;

````

### Additional Details
 * Last updated: Mon, 24 Mar 2025 18:02:33 GMT
 * Dependencies: none

# Credits
These definitions were written by [Juan Picado](https://github.com/juanpicado), and [Patrick Muff](https://github.com/dislick).
