TypeScript Record: Typed Key-Value Collections Explained
If you’ve spent any real time writing TypeScript, you’ve probably typed Record<string, number> or Record<K, V> a hundred times without giving it a second thought. It’s one of those utility types that quietly earns its keep…
Read MoreTypeScript Objects: Typing, Optional Properties & Read-only Fields
If you have spent any real time writing TypeScript, you already know that TypeScript objects are where most of the interesting typing decisions happen. Functions get a lot of attention in tutorials, and generics get all the “look how…
Read More