1 | declare const _default: (f: Function, resolver?: (...args: any[]) => string, maxSize?: number) => {
|
2 | (...args: any[]): any;
|
3 | cache: {
|
4 | clear: (isPartial?: number) => void;
|
5 | has: (key: any) => boolean;
|
6 | get: (key: any) => any;
|
7 | set: (key: any, value: any) => void;
|
8 | };
|
9 | };
|
10 | /**
|
11 | * _.memoize(calColor);
|
12 | * _.memoize(calColor, (...args) => args[0]);
|
13 | * @param f
|
14 | * @param resolver
|
15 | * @param maxSize lru maxSize
|
16 | */
|
17 | export default _default;
|