Gazebo_simulation-Frontend/node_modules/@restart/hooks/cjs/useUpdatedRef.d.ts
2020-12-21 10:29:31 -05:00

8 lines
226 B
TypeScript

/// <reference types="react" />
/**
* Returns a ref that is immediately updated with the new value
*
* @param value The Ref value
*/
export default function useUpdatedRef<T>(value: T): import("react").MutableRefObject<T>;