@types/memoizee
- Version 0.4.11
- Published
- 4.38 kB
- No dependencies
- MIT license
Install
npm i @types/memoizee
yarn add @types/memoizee
pnpm add @types/memoizee
Overview
TypeScript definitions for memoizee
Index
Functions
function memoizee
memoizee: <F extends (...args: any[]) => any>( f: F, options?: memoizee.Options<F>) => F & memoizee.Memoized<F>;
Interfaces
interface Memoized
interface Memoized<F> {}
interface Options
interface Options<F extends (...args: any[]) => any> {}
property async
async?: boolean | undefined;
property length
length?: number | false | undefined;
property max
max?: number | undefined;
property maxAge
maxAge?: number | undefined;
property preFetch
preFetch?: number | true | undefined;
property primitive
primitive?: boolean | undefined;
property profileName
profileName?: string;
property promise
promise?: boolean | 'then' | 'done' | 'done:finally' | undefined;
property resolvers
resolvers?: Array<(arg: any) => any> | undefined;
method dispose
dispose: (value: any) => void;
method normalizer
normalizer: (args: Parameters<F>) => string;
Package Files (1)
Dependencies (0)
No dependencies.
Dev Dependencies (0)
No dev dependencies.
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/memoizee
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@types/memoizee)
- HTML<a href="https://www.jsdocs.io/package/@types/memoizee"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 2089 ms. - Missing or incorrect documentation? Open an issue for this package.