React UseState interface and eslint - am I doing this right? - Theo's Typesafe Cult