DEV Community

TypeScript

Optional static type-checking for JavaScript.

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
Zod vs Valibot vs a Handwritten Type Guard: Same Rules, Different Results

Zod vs Valibot vs a Handwritten Type Guard: Same Rules, Different Results

Comments
8 min read
Your country setting doesn't control pasted URLs

Your country setting doesn't control pasted URLs

Comments
6 min read
Building an API Rate Limiter from Scratch with Node.js and Redis

Building an API Rate Limiter from Scratch with Node.js and Redis

Comments
5 min read
Our day boundaries correct for daylight saving by exactly one hour, and one of the 418 time zones moves by thirty minutes

Our day boundaries correct for daylight saving by exactly one hour, and one of the 418 time zones moves by thirty minutes

Comments
6 min read
Our whole hooks directory is 68 lines: a confirm dialog that takes a callback instead of returning a promise

Our whole hooks directory is 68 lines: a confirm dialog that takes a callback instead of returning a promise

Comments
5 min read
Building a Zero-Dependency Audio Pitch Detector in TypeScript (Why Naive FFT Fails)

Building a Zero-Dependency Audio Pitch Detector in TypeScript (Why Naive FFT Fails)

Comments
8 min read
Our app refuses the sixteenth search, and 25 of our 38 pages promise there is no limit

Our app refuses the sixteenth search, and 25 of our 38 pages promise there is no limit

Comments
6 min read
15 pages about 15 rental sites, 445 strings, and 3 of them appear on a second page

15 pages about 15 rental sites, 445 strings, and 3 of them appear on a second page

Comments
6 min read
A 429 is not a no: our licence check has three answers and only one of them stops the monitor

A 429 is not a no: our licence check has three answers and only one of them stops the monitor

Comments
7 min read
38 recipes have to answer 8 conditions, 28 pairs of them, and one person who has all eight

38 recipes have to answer 8 conditions, 28 pairs of them, and one person who has all eight

Comments
5 min read
Our machine-readable source of truth for colour holds 40 hex values and shares exactly one with the app: white

Our machine-readable source of truth for colour holds 40 hex values and shares exactly one with the app: white

Comments
5 min read
A free month has to be zero in 24 currencies, so the reward is a coupon and not a 10 pound credit

A free month has to be zero in 24 currencies, so the reward is a coupon and not a 10 pound credit

Comments
5 min read
A Beginner's Guide to Custom TypeScript Type Guards

A Beginner's Guide to Custom TypeScript Type Guards

Comments
3 min read
Three comments in our repo say the site is about 190 URLs. The live sitemap has 516.

Three comments in our repo say the site is about 190 URLs. The live sitemap has 516.

Comments
4 min read
A planner that invents nothing: 504 employers, 276 with a sourced test list, and 228 where it has to ask

A planner that invents nothing: 504 employers, 276 with a sourced test list, and 228 where it has to ask

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