mirror of
https://github.com/henrywhitaker3/Speedtest-Tracker.git
synced 2025-12-31 10:07:21 +01:00
8 lines
213 B
Plaintext
8 lines
213 B
Plaintext
// @flow
|
|
export type EqualityFn = (newArgs: mixed[], lastArgs: mixed[]) => boolean;
|
|
|
|
declare export default function memoizeOne<ResultFn: (...any[]) => mixed>(
|
|
fn: ResultFn,
|
|
isEqual?: EqualityFn,
|
|
): ResultFn;
|