mirror of
https://github.com/henrywhitaker3/Speedtest-Tracker.git
synced 2026-01-03 03:27: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;
|