Typescript with useRef - how specify generic type? - Kevin Powell - Community