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