réagir mutablerefobject type
const inputField = React.useRef() as React.MutableRefObject<HTMLInputElement>;
Important Ibis
const inputField = React.useRef() as React.MutableRefObject<HTMLInputElement>;