mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-22 16:35:14 +00:00
4 lines
260 B
TypeScript
4 lines
260 B
TypeScript
export declare type EqualityFn = (newArgs: any[], lastArgs: any[]) => boolean;
|
|
declare function memoizeOne<ResultFn extends (this: any, ...newArgs: any[]) => ReturnType<ResultFn>>(resultFn: ResultFn, isEqual?: EqualityFn): ResultFn;
|
|
export default memoizeOne;
|