DEV Community

TypeScript

Optional static type-checking for JavaScript.

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Stop Writing `for` Loops in TypeScript. The 2026 Way to Pipeline Data

Stop Writing `for` Loops in TypeScript. The 2026 Way to Pipeline Data

1
Comments
9 min read
Build a Type-Safe Event Bus in TypeScript

Build a Type-Safe Event Bus in TypeScript

1
Comments
12 min read
Phantom Types in TypeScript: Stop Mixing Kilograms and Pounds at Compile Time

Phantom Types in TypeScript: Stop Mixing Kilograms and Pounds at Compile Time

1
Comments
11 min read
Distributive Conditional Types: The Gateway to Advanced TS

Distributive Conditional Types: The Gateway to Advanced TS

1
Comments
8 min read
Stop Reaching for `any`. The Modern `unknown` Pattern Fixes 90% of It

Stop Reaching for `any`. The Modern `unknown` Pattern Fixes 90% of It

Comments
11 min read
Native Iterator Helpers Just Shipped. Here's What You Stop Doing

Native Iterator Helpers Just Shipped. Here's What You Stop Doing

Comments 1
10 min read
8 `infer` Patterns That Make You Look Like a TypeScript Wizard

8 `infer` Patterns That Make You Look Like a TypeScript Wizard

Comments
10 min read
Testing React Components Without React: What Happens When Your AI Agent Can't Use jsdom

Testing React Components Without React: What Happens When Your AI Agent Can't Use jsdom

Comments
5 min read
Build a Tiny Dependency Injection Container in TypeScript

Build a Tiny Dependency Injection Container in TypeScript

2
Comments 2
11 min read
OpenTelemetry in TypeScript: Trace Your Hono Service in 50 Lines

OpenTelemetry in TypeScript: Trace Your Hono Service in 50 Lines

1
Comments
12 min read
Java's `Optional<T>` Is Dead. TypeScript Gave You Better.

Java's `Optional<T>` Is Dead. TypeScript Gave You Better.

1
Comments
10 min read
ACP UI supports Web Client! Connect to any remote ACP agent from browser

ACP UI supports Web Client! Connect to any remote ACP agent from browser

Comments 1
2 min read
Our AI Had 64 Memories and Thought It Had Zero

Our AI Had 64 Memories and Thought It Had Zero

Comments
3 min read
Stop Crashing Node.js: How to Process 10GB Files with 15MB of RAM

Stop Crashing Node.js: How to Process 10GB Files with 15MB of RAM

3
Comments
3 min read
Pretext.js: مكتبة 15 كيلوبايت تجعل تخطيط النصوص أسرع 500 مرة

Pretext.js: مكتبة 15 كيلوبايت تجعل تخطيط النصوص أسرع 500 مرة

Comments
3 min read
👋 Sign in for the ability to sort posts by relevant, latest, or top.