DEV Community

TypeScript

Optional static type-checking for JavaScript.

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
Build a Type-Safe Event Bus in TypeScript

Build a Type-Safe Event Bus in TypeScript

1
Comments
12 min read
The Observer Pattern in TypeScript: When You Don't Need RxJS

The Observer Pattern in TypeScript: When You Don't Need RxJS

1
Comments
10 min read
TypeScript Project References: 11-Minute Builds Down to 3

TypeScript Project References: 11-Minute Builds Down to 3

1
Comments
10 min read
Kotlin `apply` / `also` / `with` Don't Translate to TypeScript

Kotlin `apply` / `also` / `with` Don't Translate to TypeScript

1
Comments
9 min read
Laravel Collections Are Just Better Arrays. TypeScript Has 90% Too.

Laravel Collections Are Just Better Arrays. TypeScript Has 90% Too.

1
Comments
9 min read
Stop Writing `for` Loops in TypeScript. 2026 Way to Pipeline Data.

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

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

Distributive Conditional Types: The Gateway to Advanced TS

1
Comments
8 min read
State Machines in TypeScript: A 60-Line Type-Safe Engine

State Machines in TypeScript: A 60-Line Type-Safe Engine

2
Comments 1
11 min read
Build a Circuit Breaker in TypeScript in 80 Lines

Build a Circuit Breaker in TypeScript in 80 Lines

1
Comments
11 min read
A Token Bucket Rate Limiter: a 50-Line In-Memory + 95-Line Redis Variant in TypeScript

A Token Bucket Rate Limiter: a 50-Line In-Memory + 95-Line Redis Variant in TypeScript

1
Comments
12 min read
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
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
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
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
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.