mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-22 16:35:14 +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;
|