useRef<HTMLInputElement>(null) is a common pattern for a ref that will point to an input DOM node.
Question 12 of 20 in React TypeScript Quiz