Every year, I like to teach myself a new language by working through the Advent of Code problems. This year, I wanted to dive into typescript. I’ve written a fair amount of JS before, and I like having explicit typechecking in my code, so TS felt like a good fit. …