TypeScript

TypeScript Enums: The Complete How to Guide

TypeScript Enums are simple, yet powerful feature that can enhance code readability and simplify refactoring. But, there’s some situations where I think you’re better of with a Record…

A Guide to The TypeScript Record Type

It sometimes feels like TypeScript has multiple ways to do the same thing. So, I don’t blame you if you’re not sure about all the pros and cons of using TypeScript’s Record type. It’s a powerful utility, but it has some nuances and potential pitfalls that dev teams can run into.