bereaksi tipe mutablerefobject

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