What's In This Cookbook

My personal collection of TypeScript snippets. Just practical, copy-paste solutions for common problems I run into.

I’ve been writing a lot of TypeScript lately, and I find myself looking up the same small things over and over. How do I sort an array of objects again? What’s the cleanest way to filter out null values?

This cookbook is where I’m storing the answers.

It’s not a deep dive into TypeScript’s type system or a comprehensive guide to the language. It’s a collection of practical, copy-and-paste solutions for common, everyday tasks.

Each recipe is self-contained and focused on solving one specific problem. Just find the recipe you need, grab the code, and get back to what you were doing.

Table of Contents