All Things Typescript

All Things Typescript

Home
Notes
Chat
Unstacked Labs
Monthly Newsletter
Archive
About
Using Zod Schemas as a Source of Truth for Typescript Types
Learn how to avoid duplicating both Zod Schemas and Typescript Types and instead infer Types from Zod Schemas, using them as a source of truth for your…
Jan 23, 2023 • Maina Wycliffe
Avoid using Type Assertions in TypeScript
In this issue, I will explain why you should avoid using Type Assertions in Typescript and techniques you can use to avoid them.
Oct 23, 2023 • Maina Wycliffe
A Deep Dive into the satisfies operator in Typescript
We take a look at the satisfies Typescript operator and how to use it, when to use it and why you should use it instead of Type annotations and typer…
Feb 24, 2024 • Maina Wycliffe
Why avoid the Any Type in Typescript
We do a deep dive on any in Typescript, why it exists, why you should avoid using it and remedies and alternatives to using any within your codebase
Nov 20, 2023 • Maina Wycliffe
Making Generics Types Optional - Generics Fundamentals in Typescript
We continue exploring Typescript generics, by looking at making generic types optional by providing default or fallback types when none is provided or…
Apr 8, 2024 • Maina Wycliffe
How to Overload Functions in Typescript
In this issue, we talk about function overloading and how to do function overloading to create types for complex functions, without compromising type…
Sep 12, 2022 • Maina Wycliffe
Indexed Access Types in Typescript
In this post, we learn how we can look-up types inside types of objects and arrays.
Apr 3, 2023 • Maina Wycliffe
Generic Constraints - A Gentle Introduction to Generics in Typescript
In this issue, you will learn about Generic Constraint, it's importance and how to use Generic Constraint in your daily activities as a developer.
Mar 25, 2024 • Maina Wycliffe
Bun - The One Tool for All Your JavaScript/Typescript Project's Needs?
Bun is a JS/TS runtime environment, a package manager, a test runner and bundler for your TS/JS Project. Should you consider it?
Jan 29, 2024 • Maina Wycliffe
Why do we have const enums in Typescript?
We explore enums in Typescript and their behavior at runtime, and why const enums exists and their different characteristics behavior at runtime as…
May 27, 2024 • Maina Wycliffe
Schema First Type Design in Typescript
In this issue, I lay down my thoughts and ideas on the concept of schema first design approach in Typescript, where we generate our Typescript types…
May 20, 2024 • Maina Wycliffe
A Gentle Introduction to Generics in Typescript
Have you ever looked at Typescript generics and wondered what they are? This post is going to help understand Typescript generics and how to use them.
Mar 11, 2024 • Maina Wycliffe
© 2026 Maina Wycliffe · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture