Files
est-frame/node_modules/@restart/hooks/esm/useUpdatedRef.d.ts
2025-10-22 05:38:27 +00:00

9 lines
244 B
TypeScript
Executable File

/// <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>;