@types/promise-memoize
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -10,3 +10,4 @@ // Type definitions for promise-memoize 1.2 | ||
declare function promiseMemoize<T extends (...args: any[]) => PromiseLike<any>>( | ||
fn: T, options?: promiseMemoize.Options | ||
fn: T, | ||
options?: promiseMemoize.Options, | ||
): T & { | ||
@@ -22,3 +23,3 @@ clear(): void; | ||
} | ||
type KeyResolver = 'simple' | 'json' | ((args: any[]) => any) | ReadonlyArray<'json' | ((arg: any) => any)>; | ||
type KeyResolver = "simple" | "json" | ((args: any[]) => any) | ReadonlyArray<"json" | ((arg: any) => any)>; | ||
} |
{ | ||
"name": "@types/promise-memoize", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "TypeScript definitions for promise-memoize", | ||
@@ -23,4 +23,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/promise-memoize", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "050055b9c44445584260b0f56dd6dabfcd081169382bf34c8bf8c531ebffe71d", | ||
"typeScriptVersion": "3.6" | ||
"typesPublisherContentHash": "5b8b46d1f65dbe975b021f9ec9d23853fed1cb461bec16bb656e2756d015dfa3", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -20,3 +20,4 @@ # Installation | ||
declare function promiseMemoize<T extends (...args: any[]) => PromiseLike<any>>( | ||
fn: T, options?: promiseMemoize.Options | ||
fn: T, | ||
options?: promiseMemoize.Options, | ||
): T & { | ||
@@ -32,3 +33,3 @@ clear(): void; | ||
} | ||
type KeyResolver = 'simple' | 'json' | ((args: any[]) => any) | ReadonlyArray<'json' | ((arg: any) => any)>; | ||
type KeyResolver = "simple" | "json" | ((args: any[]) => any) | ReadonlyArray<"json" | ((arg: any) => any)>; | ||
} | ||
@@ -39,3 +40,3 @@ | ||
### Additional Details | ||
* Last updated: Thu, 08 Jul 2021 20:19:53 GMT | ||
* Last updated: Sun, 24 Sep 2023 06:37:28 GMT | ||
* Dependencies: none | ||
@@ -42,0 +43,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4160
20
44