How to Use Type Operations and Generics to Avoid Repeating Yourself in the Type Space
What are Type Operations
We're familiar with popular Javascript operators such as + - += && ||[1]. Similar operators exist for Types in Typescript[2]. Examples are keyof, in, typeof. By using Typescript operators, we can express types in simple and s...
dozie.dev7 min read