React MutablerefObject Type

const inputField = React.useRef() as React.MutableRefObject<HTMLInputElement>;
Important Ibis