DEV Community

TypeScript

Optional static type-checking for JavaScript.

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
Pause became a question with three answers, so we wrote the rules twice and only one copy has tests

Pause became a question with three answers, so we wrote the rules twice and only one copy has tests

Comments
7 min read
Why I Finally Rebuilt My Portfolio in Angular 22 (And What Jumping from Angular 12 Taught Me)

Why I Finally Rebuilt My Portfolio in Angular 22 (And What Jumping from Angular 12 Taught Me)

Comments
5 min read
Our window reloads itself every time you open it, so the renderer may not remember anything

Our window reloads itself every time you open it, so the renderer may not remember anything

Comments
6 min read
A Resend webhook belongs to the account, not the domain, so every email arrived twice

A Resend webhook belongs to the account, not the domain, so every email arrived twice

Comments
5 min read
One palette, three consumers that import it and one that keeps a copy, and the copy is the deliberate part

One palette, three consumers that import it and one that keeps a copy, and the copy is the deliberate part

Comments
5 min read
Two signals want the same redirect, and the fresher one is not the one we stored

Two signals want the same redirect, and the fresher one is not the one we stored

Comments
4 min read
Two ways a simple LLM token counter goes wrong (with a demo you can run)

Two ways a simple LLM token counter goes wrong (with a demo you can run)

Comments
3 min read
TypeScript: Typing CSS Modules, WASM Imports, and Assets Without a Hack

TypeScript: Typing CSS Modules, WASM Imports, and Assets Without a Hack

1
Comments 1
11 min read
Turning a labour law into tested TypeScript: what an AI pair taught me about legal code

Turning a labour law into tested TypeScript: what an AI pair taught me about legal code

Comments
4 min read
How to Build an AI Agent from Scratch (It's Just a While Loop)

How to Build an AI Agent from Scratch (It's Just a While Loop)

Comments
1 min read
Localizing Electron Menus with i18next—Why I Built electron-menu-i18next

Localizing Electron Menus with i18next—Why I Built electron-menu-i18next

Comments
3 min read
Invoice Speech-to-Text: How One Key Detects 4 Provider Fallback Gaps

Invoice Speech-to-Text: How One Key Detects 4 Provider Fallback Gaps

Comments
7 min read
I built a Chrome extension that turns bug reproductions into Playwright test drafts

I built a Chrome extension that turns bug reproductions into Playwright test drafts

Comments
2 min read
My Trial Email Promised a Reminder. No Code Ever Sent It.

My Trial Email Promised a Reminder. No Code Ever Sent It.

Comments 2
6 min read
Your Model Upgrade Is a Breaking Change: Build Contract Tests for LLM Providers in TypeScript

Your Model Upgrade Is a Breaking Change: Build Contract Tests for LLM Providers in TypeScript

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