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