DEV Community

TypeScript

Optional static type-checking for JavaScript.

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
Migrating vercel.json to vercel.ts: Field Notes on Typed Vercel Config

Migrating vercel.json to vercel.ts: Field Notes on Typed Vercel Config

Comments
4 min read
A Vitest test that fails when anyone types one of our prices

A Vitest test that fails when anyone types one of our prices

Comments
6 min read
What I learned wrapping EA FC's undocumented Pro Clubs API in TypeScript

What I learned wrapping EA FC's undocumented Pro Clubs API in TypeScript

Comments
4 min read
Claude Reads Screenshots at 2,576px Now. The Same PNG Can Cost 3x the Tokens

Claude Reads Screenshots at 2,576px Now. The Same PNG Can Cost 3x the Tokens

1
Comments 2
9 min read
72,683 lines of TypeScript with one any in them, and two compiler flags that would add 455 errors

72,683 lines of TypeScript with one any in them, and two compiler flags that would add 455 errors

1
Comments
6 min read
# React Tree Node View – A Customizable Tree View for React 🌳

# React Tree Node View – A Customizable Tree View for React 🌳

1
Comments
1 min read
Zod does two opposite jobs in our app, and the call shape tells you which one

Zod does two opposite jobs in our app, and the call shape tells you which one

1
Comments
6 min read
Showing your private GitHub work on your profile, without leaking a single repo name

Showing your private GitHub work on your profile, without leaking a single repo name

Comments
3 min read
SyntaxError: Cannot Use Import Statement Outside a Module: 9 Causes and Fixes (Node.js, TypeScript, Jest and Browser)

SyntaxError: Cannot Use Import Statement Outside a Module: 9 Causes and Fixes (Node.js, TypeScript, Jest and Browser)

Comments
13 min read
Thirteen of the sixteen types in our Electron UI are second copies, and one field in them exists nowhere else

Thirteen of the sixteen types in our Electron UI are second copies, and one field in them exists nowhere else

Comments
6 min read
Our longest search snippet is 148 characters of a 160 character budget, and the 12 that are left over are why the answer is written twice

Our longest search snippet is 148 characters of a 160 character budget, and the 12 that are left over are why the answer is written twice

Comments
5 min read
One string in localStorage decides where signup drops you, and the first page of the visit is the one that writes it

One string in localStorage decides where signup drops you, and the first page of the visit is the one that writes it

Comments
6 min read
Our "tell us what you'd pay" form sends nothing to the client, and the price in the answer is resolved on the server

Our "tell us what you'd pay" form sends nothing to the client, and the price in the answer is resolved on the server

Comments
6 min read
Nine countries pay more for our product, and the entire uplift is one constant worth ÂŁ2.50

Nine countries pay more for our product, and the entire uplift is one constant worth ÂŁ2.50

Comments
6 min read
Building a Portuguese (PT-BR) Audio & Video Transcription Pipeline with Whisper Large-v3, Pyannote Speaker Diarization, and MCP

Building a Portuguese (PT-BR) Audio & Video Transcription Pipeline with Whisper Large-v3, Pyannote Speaker Diarization, and MCP

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