mirror of
https://github.com/idanoo/GoScrobble
synced 2025-07-05 15:42:18 +00:00
7 lines
265 B
TypeScript
7 lines
265 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;
|