Treating types as values with type-level maps

TypeScript
  • 1354 words
  • 7 mins

TypeScript is very good at talking about object structure. With a shift of perspective, we can use this ability to talk about dictionaries where types are values.

Let’s see how that works!

read more