volleyball-dev-frontend/node_modules/@restart/hooks/esm/useUpdatedRef.d.ts
2025-06-02 16:42:16 +00:00

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