After a bit of tinkering, this method seems nice for typing HTMLElements based on the classes you expect them to be.
You give it a query selector and a HTMLElement subclass you're expecting it to be. It'll then thrown an error if its missing or mis-typed. Then you have a strongly typed variable with that element. All in #JavaScript