Use conditional types and the extends keyword to filter and transform union types.
Heyooo, I'm Stefan! I write and speak about web stuff.
New on the blog
Set up custom Git commit templates to standardize your commit messages.
Thoughts on a possible
standard for profile avatars..well-known/avatar Learn the difference between
@ts-ignore
and@ts-expect-error
in TypeScript, when to use them, and best practices for handling type errors.Use the
IMAGE()
function to load images in your spreadsheets.As of 2025, Playwright ships a hidden and undocumented CLI watch mode to gather feedback. Still, if you want to automatically rerun your tests on the CLI, use it today.
Most popular in the last 30 days
- git has an auto-correct flag
- A well-known avatar URL would be dang cool.
- How to import JSON files in ES modules (Node.js)
- Web Weekly #150
- A "section" without an accessible name is nothing but a "div"
Hacker News Hits
- HTTP headers for the responsible developer 887 upvotes and 98 comments
- A Firefox-only minimap (2021) 699 upvotes and 113 comments
- Git commit accepts several message flags (-m) to allow multiline commits 339 upvotes and 152 comments
- How to force yourself to leave the computer using the leave command 77 upvotes and 32 comments
- Say goodbye to resource-caching across sites and domains 74 upvotes and 79 comments