@zodash/memoize
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -1,3 +0,3 @@ | ||
export declare function memoize(fn: (...args: any[]) => any, resolver: (...args: any[]) => string): { | ||
(...args: any[]): any; | ||
export declare function memoize<T extends any[], R>(fn: (...args: T) => R, resolver: (...args: T) => string): { | ||
(...args: T): R; | ||
cache: Map<any, any>; | ||
@@ -4,0 +4,0 @@ }; |
{ | ||
"name": "@zodash/memoize", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Create a function that memoizes the result of `func` according to the `resolver` function.", | ||
@@ -67,3 +67,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "51750aa5616afce38975a349d7b063596db69a8e" | ||
"gitHead": "3e1105654fbcfd1e29786fb2a6188fd48745541a" | ||
} |
Sorry, the diff of this file is not supported yet
3040