Your Type Guard Can Silently Drift from Your TypeScript Type π§
Hoi hoi! π I'm [@nyaomaru](https://github.com/nyaomaru), a frontend engineer just back from a short vacation on Texel, a small island in the Netherlands. πΈποΈ Today, let's talk about a type guard that looks completely safe. ```ts const isUser = (value: unknown): value is User => { // runtime ...
Read article