const useRef: interface { <T>( current?: NonNullable<T>, ) => Ref<T>; <T>( current?: NonNullable<T>, ) => RefObject<T>; <T = undefined>() => MutableRefObject<T | undefined>; }
packages / live / src / hooks.ts