Useref React TypeScript
const inputRef = React.useRef<HTMLInputElement | null>(null);
Obedient Oyster
const inputRef = React.useRef<HTMLInputElement | null>(null);
const input = React.useRef<HTMLInputElement>(null);
const element = React.useRef<ElementType>(null);