DEV Community

TypeScript

Optional static type-checking for JavaScript.

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
What Gemma 4 vision gets right about circuit sketches, and the validator that fixes the rest

What Gemma 4 vision gets right about circuit sketches, and the validator that fixes the rest

Comments
6 min read
Our app has 601 serverless invocations a day and exactly one background task, and the task gets 1,800 seconds

Our app has 601 serverless invocations a day and exactly one background task, and the task gets 1,800 seconds

Comments
6 min read
Our example env file documents 19 variables, the code reads 15 of them, and its longest comment describes a design we deleted

Our example env file documents 19 variables, the code reads 15 of them, and its longest comment describes a design we deleted

Comments
6 min read
One capital letter turns /pricing into a login form, and /Sitemap.xml into a 404

One capital letter turns /pricing into a login form, and /Sitemap.xml into a 404

Comments
7 min read
One plugin, two surfaces: putting an image editor inside an agent's composer

One plugin, two surfaces: putting an image editor inside an agent's composer

1
Comments
7 min read
Model Company Reviews and Editorial Rankings as Different Data Types

Model Company Reviews and Editorial Rankings as Different Data Types

Comments
3 min read
Fifteen site pages, 45 hand-written links between them, and the one page nothing points at

Fifteen site pages, 45 hand-written links between them, and the one page nothing points at

Comments
6 min read
Our copy rule bans the em dash, and 16 of them survived it as HTML entities

Our copy rule bans the em dash, and 16 of them survived it as HTML entities

Comments
5 min read
Four regions, three flags, and a no-emoji rule that cannot see a single one of them

Four regions, three flags, and a no-emoji rule that cannot see a single one of them

Comments
7 min read
Our prep plan has no done button, because a checkbox would be a second opinion about what you practised

Our prep plan has no done button, because a checkbox would be a second opinion about what you practised

Comments
5 min read
Two sector taxonomies, 20 ids against 4, and the one word they share means the opposite thing in each

Two sector taxonomies, 20 ids against 4, and the one word they share means the opposite thing in each

Comments
5 min read
Stop Modeling State With Booleans: Make Impossible States Impossible in TypeScript

Stop Modeling State With Booleans: Make Impossible States Impossible in TypeScript

Comments
4 min read
Deleting one user row empties 21 of our 29 tables, and the delete statement names one of them

Deleting one user row empties 21 of our 29 tables, and the delete statement names one of them

1
Comments 1
5 min read
Keeping Browser Recordings Compatible in IndexedDB

Keeping Browser Recordings Compatible in IndexedDB

1
Comments
1 min read
Rotating Gemini API Keys in Next.js Serverless Cron Jobs Without Hitting Quota Limits

Rotating Gemini API Keys in Next.js Serverless Cron Jobs Without Hitting Quota Limits

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