DEV Community

TypeScript

Optional static type-checking for JavaScript.

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
Learn AI SDK 7 Scoped Tool Context With a Two-Tool Secret Boundary

Learn AI SDK 7 Scoped Tool Context With a Two-Tool Secret Boundary

1
Comments
3 min read
Your Retry Policy Can Break the SLO Before the First Attempt Starts

Your Retry Policy Can Break the SLO Before the First Attempt Starts

6
Comments
4 min read
Your First LLM Call in TypeScript Is Untyped — Here's the Fix

Your First LLM Call in TypeScript Is Untyped — Here's the Fix

5
Comments
6 min read
Agent Memory in TypeScript: Short-Term, Long-Term, and What to Throw Away

Agent Memory in TypeScript: Short-Term, Long-Term, and What to Throw Away

Comments
5 min read
Citations That Survive a TypeScript Refactor

Citations That Survive a TypeScript Refactor

5
Comments
6 min read
The Cache Was Working. And Still Causing Duplicate API Calls

The Cache Was Working. And Still Causing Duplicate API Calls

Comments
6 min read
You use `obj.hasOwnProperty(key)` to check property ownership. It can silently fail. `Object.hasOwn()` is the safe replacement.

You use `obj.hasOwnProperty(key)` to check property ownership. It can silently fail. `Object.hasOwn()` is the safe replacement.

17
Comments
4 min read
Re-Indexing a Live RAG System Without Breaking Your AI Assistant

Re-Indexing a Live RAG System Without Breaking Your AI Assistant

Comments 1
5 min read
Human-in-the-Loop with LangGraph.js: Pausing a Graph for Approval

Human-in-the-Loop with LangGraph.js: Pausing a Graph for Approval

Comments
5 min read
Your AI Agent Called the Same Tool 40 Times — Detecting Loops in TypeScript

Your AI Agent Called the Same Tool 40 Times — Detecting Loops in TypeScript

1
Comments
5 min read
Rate Limiting AI Agent Endpoints in Node When One Request Costs €2

Rate Limiting AI Agent Endpoints in Node When One Request Costs €2

1
Comments
5 min read
Debugging a Stuck AI Agent: Reading Graph State in LangGraph.js

Debugging a Stuck AI Agent: Reading Graph State in LangGraph.js

1
Comments
5 min read
Resuming an AI Agent After a Deploy Killed It Mid-Task

Resuming an AI Agent After a Deploy Killed It Mid-Task

Comments
5 min read
How to Test React Invite Emails in Preview Environments Without Inbox Collisions

How to Test React Invite Emails in Preview Environments Without Inbox Collisions

Comments
4 min read
The AI Agent Permission Model You Need Before Production

The AI Agent Permission Model You Need Before Production

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