DEV Community

TypeScript

Optional static type-checking for JavaScript.

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
Real guardrails for autonomous agents after one almost destroyed my infrastructure

Real guardrails for autonomous agents after one almost destroyed my infrastructure

1
Comments 1
8 min read
WordPress vs EmDash: Is This Astro-Based CMS Worth the Switch?

WordPress vs EmDash: Is This Astro-Based CMS Worth the Switch?

1
Comments
5 min read
Opaque Types Without `unique symbol`: A Lighter Branded-Types Pattern

Opaque Types Without `unique symbol`: A Lighter Branded-Types Pattern

1
Comments
8 min read
noPropertyAccessFromIndexSignature: When the Strict Flag Pays Off

noPropertyAccessFromIndexSignature: When the Strict Flag Pays Off

1
Comments
9 min read
From Java Records to TypeScript: Three Patterns That Replace Them Cleanly

From Java Records to TypeScript: Three Patterns That Replace Them Cleanly

Comments
8 min read
Bun's TypeScript Support in 2026: What Works, What Still Needs tsc

Bun's TypeScript Support in 2026: What Works, What Still Needs tsc

Comments
9 min read
Function Overloads in 2026: Use a Discriminated Param Instead

Function Overloads in 2026: Use a Discriminated Param Instead

Comments
8 min read
`infer` in Conditional Types: 5 Recipes That Aren't in the Handbook

`infer` in Conditional Types: 5 Recipes That Aren't in the Handbook

Comments
9 min read
`asserts cond` vs `is X`: When the Assertion Function Beats the Type Guard

`asserts cond` vs `is X`: When the Assertion Function Beats the Type Guard

Comments
8 min read
TypeScript Watch Mode in Big Projects: What --extendedDiagnostics Actually Tells You

TypeScript Watch Mode in Big Projects: What --extendedDiagnostics Actually Tells You

Comments
9 min read
From Playground to Code: Three Versions of One Prompt in Google AI Studio

From Playground to Code: Three Versions of One Prompt in Google AI Studio

1
Comments
8 min read
Dual ESM/CJS Publish in 2026: A Modern tsconfig + package.json Setup That Just Works

Dual ESM/CJS Publish in 2026: A Modern tsconfig + package.json Setup That Just Works

Comments
9 min read
Kotlin Coroutines to TypeScript: Three Cancellation Patterns That Aren't 1:1

Kotlin Coroutines to TypeScript: Three Cancellation Patterns That Aren't 1:1

Comments
9 min read
declare global vs declare module: When to Use Which

declare global vs declare module: When to Use Which

Comments
10 min read
mathfuse: TypeScript Math Utilities (Statistics, Vectors, Matrices) Zero Dependencies

mathfuse: TypeScript Math Utilities (Statistics, Vectors, Matrices) Zero Dependencies

Comments
1 min read
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.