Type Safety
1 post tagged “Type Safety”. All topics
-
Branded Types in TypeScript: From Structural to Nominal Typing
How to achieve nominal typing in TypeScript with branded types, preventing subtle runtime bugs by making types explicitly incompatible even when their structures match.