mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-24 09:25:15 +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;
|