Skip to content

JavaScript & TypeScript

TypeScript guides to generics, utility types, discriminated unions, validation, and typed error handling.

The examples focus on application code: representing valid states, making failures explicit, and validating data at system boundaries. Each pattern is explained through the problem it solves and the complexity it adds.

6 articles by .

JavaScript & TypeScript articles

Need help applying this to your product?