DEV Community

is-kit Series' Articles

Back to nyaomaru's Series
Why filter(Boolean) Is Not a Nullish Filter in TypeScript 🔧
Cover image for Why filter(Boolean) Is Not a Nullish Filter in TypeScript 🔧

Why filter(Boolean) Is Not a Nullish Filter in TypeScript 🔧

71
Comments 26
5 min read
Your Type Guard Can Silently Drift from Your TypeScript Type 🔧
Cover image for Your Type Guard Can Silently Drift from Your TypeScript Type 🔧

Forgotten guard updates risk silent runtime bugs

Your Type Guard Can Silently Drift from Your TypeScript Type 🔧

87
Picked as gem Comments 55
6 min read
TypeScript Compiler API: Preserving Child Node Narrowing in Reusable Type Guards 🔧
Cover image for TypeScript Compiler API: Preserving Child Node Narrowing in Reusable Type Guards 🔧

Property refinement applies beyond AST nodes

TypeScript Compiler API: Preserving Child Node Narrowing in Reusable Type Guards 🔧

95
Picked as gem Comments 21
8 min read
Migrating a Real TypeScript OSS Library from tsup to tsdown 🔧
Cover image for Migrating a Real TypeScript OSS Library from tsup to tsdown 🔧

Verifying packed output prevents breaking changes

Migrating a Real TypeScript OSS Library from tsup to tsdown 🔧

82
Picked as gem Comments 31
7 min read
How Do You Validate `unknown` in TypeScript Without a Schema Library? 🛡️
Cover image for How Do You Validate `unknown` in TypeScript Without a Schema Library? 🛡️

Commenters debate skipping heavy schema libraries

How Do You Validate `unknown` in TypeScript Without a Schema Library? 🛡️

81
Picked as gem Comments 8
5 min read