mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-23 00:45:16 +00:00
9 lines
231 B
Plaintext
9 lines
231 B
Plaintext
|
// @flow
|
||
|
export type EqualityFn = (newArgs: mixed[], lastArgs: mixed[]) => boolean;
|
||
|
|
||
|
// default export
|
||
|
declare export default function memoizeOne<ResultFn: (...any[]) => mixed>(
|
||
|
fn: ResultFn,
|
||
|
isEqual?: EqualityFn,
|
||
|
): ResultFn;
|