TypeScript's index types seem super useful when you first find out about them. If you aren't familiar with index types, here's a crash course example: As you can see, in our example allows any string to be a property name (key), and any number to…
I'm going to be honest, here. I love TypeScript, but some of the docs for their utility methods aren't that great. Thankfully, they have examples, but sometimes, even those aren't that helpful. is one of those utility methods that always had an…