mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-23 00:45:16 +00:00
9 lines
244 B
TypeScript
9 lines
244 B
TypeScript
|
/// <reference types="react" />
|
||
|
/**
|
||
|
* Returns a ref that is immediately updated with the new value
|
||
|
*
|
||
|
* @param value The Ref value
|
||
|
* @category refs
|
||
|
*/
|
||
|
export default function useUpdatedRef<T>(value: T): import("react").MutableRefObject<T>;
|