mirror of
https://github.com/henrywhitaker3/Speedtest-Tracker.git
synced 2025-12-25 14:59:16 +01:00
8 lines
258 B
TypeScript
8 lines
258 B
TypeScript
/**
|
|
* `useKeeper` is a helper around `useRef`.
|
|
*
|
|
* You don't need to access the `.current`property to get the value
|
|
* If refresh is set to true. The ref will be updated every render
|
|
*/
|
|
export declare function useKeeper<T>(arg: T, refresh?: boolean): T;
|