close

DEV Community

TypeScript

Optional static type-checking for JavaScript.

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
One boolean puts our whole API behind a 503, and three routes are allowlisted out of it

One boolean puts our whole API behind a 503, and three routes are allowlisted out of it

Comments
5 min read
There are no Products and no Prices in our Stripe account, and every checkout line item is built from one 73-line file

There are no Products and no Prices in our Stripe account, and every checkout line item is built from one 73-line file

Comments
5 min read
Two URL spaces render from one type, and the ternary that tells them apart returns the same thing twice

Two URL spaces render from one type, and the ternary that tells them apart returns the same thing twice

Comments
6 min read
Two routes read the same 226 JSON files, and Next.js only deployed one of them with the files

Two routes read the same 226 JSON files, and Next.js only deployed one of them with the files

Comments
5 min read
One find, three channels, and only one of them is allowed to fail quietly

One find, three channels, and only one of them is allowed to fail quietly

Comments
6 min read
One campaign type, two vocabularies, and 30 lines keeping 46 call sites from saying "businesss"

One campaign type, two vocabularies, and 30 lines keeping 46 call sites from saying "businesss"

Comments
5 min read
Our Ultimate plan is five seats and the owner is one of them, which is why a Pro owner's settings page reads "1 of 1 seat used"

Our Ultimate plan is five seats and the owner is one of them, which is why a Pro owner's settings page reads "1 of 1 seat used"

Comments
5 min read
Our free week is one per account and one per card, and the card check is a search over Stripe metadata

Our free week is one per account and one per card, and the card check is a search over Stripe metadata

Comments
6 min read
Our reward label stopped quoting money, because the phone cannot know which currency the bill is in

Our reward label stopped quoting money, because the phone cannot know which currency the bill is in

Comments
4 min read
When the UI Knows More Than the Evidence

When the UI Knows More Than the Evidence

Comments
8 min read
A $` in our replacement string doubled a live article from 16,866 to 34,163 characters

A $` in our replacement string doubled a live article from 16,866 to 34,163 characters

Comments
9 min read
I Built a KVKK Cookie Consent Tool Because Every "GDPR Banner" Library Assumes You're in the EU

I Built a KVKK Cookie Consent Tool Because Every "GDPR Banner" Library Assumes You're in the EU

Comments
3 min read
One review object, two renderers, and the only test that renders a real PDF

One review object, two renderers, and the only test that renders a real PDF

BERJAYA 1
Comments
5 min read
AWS CDK patterns that survive a team

AWS CDK patterns that survive a team

Comments
4 min read
The website can't promise a price the app won't charge

The website can't promise a price the app won't charge

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