TypeScript Coffee

TypeScript Coffee

Welcome to TypeScript Coffee

Your source for the latest news in the TypeScript community

News Thumbnail

What If Your AI Agent Never Had to Leave the Browser? (Demo ๐Ÿš€)

I haven't written anything lately because, honestly, I just didn't have the headspace for it. There... Read More

Author Avatar Sylwia Laskowska 10 days ago
News Thumbnail

Learn Trapping Rain Water, Top K Frequent and Selection Sort with Step-by-Step Visualization in DSA View View ๐Ÿ‘€๐Ÿ‘€

Hoi hoi! Iโ€™m @nyaomaru, a frontend engineer who has been obsessed with ramen lately. ๐Ÿ˜ธ๐Ÿœ Have you... Read More

Author Avatar nyaomaru 21 days ago
News Thumbnail

Execution Trees, Not More Logs: A Better Debugging Model for AI Agents

A flat log can tell you that five things happened. It often cannot tell you which operation caused... Read More

Author Avatar Raju Dandigam a month ago
News Thumbnail

Your Type Guard Can Silently Drift from Your TypeScript Type ๐Ÿ”ง

Hoi hoi! ๐Ÿ‘‹ I'm @nyaomaru, a frontend engineer just back from a short vacation on Texel, a small... Read More

Author Avatar nyaomaru 7 days ago
News Thumbnail

Learn Number of Islands, Invert Binary Tree, and Course Schedule with Step-by-Step Visualization in DSA View View ๐Ÿ‘€๐Ÿ‘€

Hoi hoi! Iโ€™m @nyaomaru, a frontend engineer who is surprised by how cold it is in the Netherlands... Read More

Author Avatar nyaomaru a month ago
News Thumbnail

Would You Choose a Library Because AI Writes It Better?

I was at a conference recently and watched Joel Hooks talk about Effect. Effect homepage h1... Read More

Author Avatar Erik Hanchett 22 days ago
News Thumbnail

TS Evidence Graph: Make Every SKILL Instruction 100% Enforced

TL;DR Write the rules into AGENTS.md or a skill file and the agent still will not follow... Read More

Author Avatar Jeongho Nam 20 days ago
News Thumbnail

The board came back. The highlights lied.

I ship Codenames AI, a web game. Each game mode keeps its own save in localStorage. Reload the tab,... Read More

Author Avatar Michael Truong a month ago
News Thumbnail

Jev vs Claude: Who Wins?

I did not need Jev to beat Claude or Kimi on a benchmark. I needed to know whether I could trust it... Read More

Author Avatar Ben Greenberg 12 days ago
News Thumbnail

NestJS Testing Module: Provider Overrides (with Cheat Sheet)

A complete guide to NestJS's testing module: how overrideProvider really wires mocks, why get() fails on scoped providers, and using useMocker. Read More

Author Avatar Parsa Jiravand 12 days ago
News Thumbnail

I Turned My Editor Into a Pokรฉmon World That Levels Up When I Actually Ship

Repo: https://github.com/UribeJr/pokedev Most editor pets are wallpaper. Cute? Sure. Connected to... Read More

Author Avatar Enrique Uribe 13 days ago
News Thumbnail

I missed Go's `if err != nil`, so I built errval for TypeScript

I write mostly TypeScript and some Go. When I switch back from Go, I miss explicit error returns. A... Read More

Author Avatar aymane aallaoui 11 days ago
News Thumbnail

addDays() Mutated a Date Three Components Away From Where I Called It

A date utility that calls .setDate() and returns the same object looks pure. It isn't โ€” Date is mutable, so the caller and everyone else holding that reference get changed out from under them. Temporal, now shipping in real browsers, fixes it by making dates immutable. Read More

Author Avatar Parsa Jiravand 18 days ago
News Thumbnail

NestJS Guards: CanActivate, ExecutionContext & Reflector

A complete guide to NestJS guards: how CanActivate, ExecutionContext, and the Reflector decide who reaches your route handler, with a cheat sheet. Read More

Author Avatar Parsa Jiravand 4 days ago
News Thumbnail

How to Build a Task Management App with React & TypeScript

Hey everyone, it's Sadee! If you've ever wanted to build a cool task board where you can move... Read More

Author Avatar Sadee 6 days ago
News Thumbnail

๐Ÿชช Avatar RS: Very Efficient Avatar Components for WASM Frameworks

Bien le bonjour ๐Ÿ‘‹! Every WASM app eventually needs an avatar. Profile pictures, user cards,... Read More

Author Avatar Mahmoud ๐Ÿฆ€ 3 days ago
News Thumbnail

A browser arcade in plain TypeScript: 8 classic games, 35 kB, no framework

Play it: https://minjia-hu.github.io/retro-arcade/ Source:... Read More

Author Avatar Minjia Hu 12 days ago
News Thumbnail

What Protobuf descriptors don't tell you: building a generic mock generator

I built a library that generates mock data for any Protobuf message without per-message code. The schema walk was the easy part โ€” here are the four things that actually bit me. Read More

Author Avatar Maksim 5 days ago
News Thumbnail

Three ways I miscounted my own AI agents, and what the transcripts actually say

Claude Code writes a JSONL transcript for every session, and another one for every subagent it... Read More

Author Avatar Kosta Stamboldzhiev 13 days ago
News Thumbnail

A calendar library returned the same answer for every year โ€” and my tests agreed with it

I build a Korean saju (BaZi) service. The whole pitch is that the numbers are computed... Read More

Author Avatar Hyunbin Kim a month ago
News Thumbnail

Three PRs to Rowboat in 24 Hours, One of Them Taught Me More Than the Others

Last month I wrote about how I use coding agents to build things. This week I pointed the same setup... Read More

Author Avatar Kiell Tampubolon 19 days ago
News Thumbnail

TypeScript Compiler API: Preserving Child Node Narrowing in Reusable Type Guards ๐Ÿ”ง

Hoi hoi! ๐Ÿ‘‹ I'm @nyaomaru, a frontend engineer exploring new possibilities with Jev ๐Ÿ˜ธ (I'm also... Read More

Author Avatar nyaomaru 8 hours ago
News Thumbnail

Inside TypeScript 7's Go Port: Designing Typed AST Nodes Without a Giant Struct

A step-by-step look at TypeScript 7's Go AST design: shared node data, syntax-specific data, discriminated unions, and a small Go implementation. Read More

Author Avatar puffball1567 13 days ago
News Thumbnail

OpenAI Rated Its Own Model 'Critical' for Cyber Risk. Gate Your Agent.

GPT-6 Astra is the first model OpenAI rates 'Critical' for cyber capability. What that label means, and the tool-permission gate your agent needs anyway. Read More

Author Avatar Gabriel Anhaia a month ago