I use useRef() to deal with errors of a phone number from an input. I do it like this:
const errorPhoneDiv: MutableRefObject<{}> = useRef("");
A bit later in the code, I use errorPhoneDiv.current.innerText to set the written phone number, but TS tells me :
Property 'innerText' does not exist on type '{}'
What type should I pass to MutableRefObject to accept the useRef object?