DEV Community

TypeScript

Optional static type-checking for JavaScript.

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
6 Tool-Design Mistakes That Make an LLM Call the Wrong Function

6 Tool-Design Mistakes That Make an LLM Call the Wrong Function

Comments
6 min read
Your First AI Agent in TypeScript Without a Framework

Your First AI Agent in TypeScript Without a Framework

Comments
5 min read
Guardrails in TypeScript: Input Validation, Output Filters, Refusal Paths

Guardrails in TypeScript: Input Validation, Output Filters, Refusal Paths

Comments
5 min read
JSON Mode vs Structured Output vs Zod Parsing: Which Guarantees Shape

JSON Mode vs Structured Output vs Zod Parsing: Which Guarantees Shape

Comments
5 min read
LangGraph.js in Practice: Nodes, Edges, and State That Actually Persists

LangGraph.js in Practice: Nodes, Edges, and State That Actually Persists

Comments
5 min read
Idempotent Tools in Node: Safe Retries When the Model Calls Twice

Idempotent Tools in Node: Safe Retries When the Model Calls Twice

Comments
6 min read
What One Token Actually Costs in a Node App (and 3 Lines That Show You)

What One Token Actually Costs in a Node App (and 3 Lines That Show You)

Comments
5 min read
Caching Embeddings in Node: A 60-Line Layer That Cuts the Bill

Caching Embeddings in Node: A 60-Line Layer That Cuts the Bill

Comments
5 min read
Should You Unit Test Glue Files? A Practical Decision Matrix

Should You Unit Test Glue Files? A Practical Decision Matrix

2
Comments
4 min read
Three model-pairing decisions that emerged from a COMPARE_LIMIT budget cap

Three model-pairing decisions that emerged from a COMPARE_LIMIT budget cap

1
Comments
4 min read
Recording Spec-Compliant WAV Files (16-bit/Mono/Uncompressed) Using Only Web Audio

Recording Spec-Compliant WAV Files (16-bit/Mono/Uncompressed) Using Only Web Audio

Comments 2
5 min read
Cheap Filters First, LLM Last: Running an AI Matcher Inside a Cron Job

Solves explosive LLM costs with boring code

Cheap Filters First, LLM Last: Running an AI Matcher Inside a Cron Job

5
Comments 8
6 min read
React Design Patterns Senior Devs Actually Use (2026)

React Design Patterns Senior Devs Actually Use (2026)

1
Comments
7 min read
We Were Always Building State Machines — From .NET ViewBag to TypeScript Discriminated Unions

We Were Always Building State Machines — From .NET ViewBag to TypeScript Discriminated Unions

Comments
7 min read
Barrel Files: Why index.ts Re-Exports Hurt Tree Shaking, Next.js Dev Memory, and tsc (2026)

Barrel Files: Why index.ts Re-Exports Hurt Tree Shaking, Next.js Dev Memory, and tsc (2026)

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