DEV Community

TypeScript

Optional static type-checking for JavaScript.

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
An MCP Tool Call Can Resolve and Still Fail

Distinguishes API returns from real outcomes

An MCP Tool Call Can Resolve and Still Fail

23
Picked as gem Comments 17
4 min read
WebMCP in Practice - Turn an HTML Form into an Agent Tool

HTML markup doubles as the agent tool schema

WebMCP in Practice - Turn an HTML Form into an Agent Tool

10
Picked as gem Comments 5
5 min read
TypeScript `protected` vs `private` in 2026: The Inheritance Visibility Rules That Bite Teams Mid-Refactor

TypeScript `protected` vs `private` in 2026: The Inheritance Visibility Rules That Bite Teams Mid-Refactor

1
Comments
14 min read
Three cheap checks that stop an LLM from inventing form data

Three cheap checks that stop an LLM from inventing form data

Comments
5 min read
I built a Node.js toolkit for India's DPDP Act, so compliance can't quietly drift

I built a Node.js toolkit for India's DPDP Act, so compliance can't quietly drift

Comments
5 min read
Building Séance Kit with Kiro specs steering and MCP

Building Séance Kit with Kiro specs steering and MCP

Comments
4 min read
Four locales, one Next.js app: the hreflang mistakes I made so you don't have to

Four locales, one Next.js app: the hreflang mistakes I made so you don't have to

Comments 1
3 min read
I Built a Tiny JavaScript Time Zone Engine - No Dependencies, No Bundled Time Zone Database

I Built a Tiny JavaScript Time Zone Engine - No Dependencies, No Bundled Time Zone Database

Comments
7 min read
The break-even win rate of a trade, with fees, in TypeScript

The break-even win rate of a trade, with fees, in TypeScript

Comments
4 min read
What perp funding really costs you, in a few lines of TypeScript

What perp funding really costs you, in a few lines of TypeScript

Comments
3 min read
How to validate a Portuguese NIF in JavaScript (and why I built a package for it)

How to validate a Portuguese NIF in JavaScript (and why I built a package for it)

Comments
4 min read
Zod-Validated LLM Output: The Repair Loop That Makes It Safe to Ship

Zod-Validated LLM Output: The Repair Loop That Makes It Safe to Ship

Comments
17 min read
Handling Gemini API Key Rotation and Rate Limits Across Cron Jobs in Next.js

Handling Gemini API Key Rotation and Rate Limits Across Cron Jobs in Next.js

Comments
3 min read
How we built a bilingual (EN/AR) e-commerce store for an Egyptian streetwear brand

How we built a bilingual (EN/AR) e-commerce store for an Egyptian streetwear brand

Comments
5 min read
Scoring Five Different Skills with One Gaussian Curve in TypeScript

Scoring Five Different Skills with One Gaussian Curve in TypeScript

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