Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/memoizee

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/memoizee - npm Package Compare versions

Comparing version 0.4.5 to 0.4.6

16

memoizee/index.d.ts

@@ -10,12 +10,12 @@ // Type definitions for memoizee 0.4

interface Options<F extends (...args: any[]) => any> {
length?: number | false;
maxAge?: number;
max?: number;
preFetch?: number | true;
promise?: boolean;
length?: number | false | undefined;
maxAge?: number | undefined;
max?: number | undefined;
preFetch?: number | true | undefined;
promise?: boolean | undefined;
dispose?(value: any): void;
async?: boolean;
primitive?: boolean;
async?: boolean | undefined;
primitive?: boolean | undefined;
normalizer?(args: Parameters<F>): string;
resolvers?: Array<(arg: any) => any>;
resolvers?: Array<(arg: any) => any> | undefined;
}

@@ -22,0 +22,0 @@

{
"name": "@types/memoizee",
"version": "0.4.5",
"version": "0.4.6",
"description": "TypeScript definitions for memoizee",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/memoizee",
"license": "MIT",

@@ -27,4 +28,4 @@ "contributors": [

"dependencies": {},
"typesPublisherContentHash": "425524b92661ecda52a9fcba58244c353bd02a781ae63e2ab02636542b608ca4",
"typeScriptVersion": "3.2"
"typesPublisherContentHash": "c1ff85184bcb9f7ebccb91417fb726494540c1407cee8cf593d6287254336bf0",
"typeScriptVersion": "3.6"
}

@@ -9,5 +9,39 @@ # Installation

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
// Type definitions for memoizee 0.4
// Project: https://github.com/medikoo/memoizee
// Definitions by: Juan Picado <https://github.com/juanpicado>
// Patrick Muff <https://github.com/dislick>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// Minimum TypeScript Version: 3.1
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 | undefined;
dispose?(value: any): void;
async?: boolean | undefined;
primitive?: boolean | undefined;
normalizer?(args: Parameters<F>): string;
resolvers?: Array<(arg: any) => any> | undefined;
}
interface Memoized<F> {
delete: F;
clear: F & (() => 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: Wed, 28 Oct 2020 18:55:33 GMT
* Last updated: Tue, 06 Jul 2021 22:03:03 GMT
* Dependencies: none

@@ -14,0 +48,0 @@ * Global values: none

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc