Computing with types in TypeScript

1 · Axel Rauschmayer · June 15, 2020, 7:03 p.m.
In this blog post, we explore how we can compute with types at compile time in TypeScript. Note that the focus of this post is on learning how to compute with types. Therefore, we’ll use literal types a lot and the examples are less practically relevant. Future blog posts will cover real-world use cases. [Read rest of post]...