Tag: learning
All the articles with the tag "learning".
Abusing TypeScript's Type System
Posted on:February 1, 2024 at 07:16 PMThis blog post dives deep into the world of TypeScript and explores the fascinating aspect of the `Exclude<Low, High>` utility type that increments `Low` by 1. It starts with a brief recall of what the `Range<Low, High>` type is and how it works in recursive types, before moving on to explain the role of `Exclude<Low, High>`.