January 9, 2019TypeScript 2.8 introduced conditional types, a powerful and exciting addition to the type system. Conditional types let us express non-uniform type mappings, that is, type transformations that differ depending on a condition. #Introduction to Conditional Types A conditional type describes a type relationship test and selects one of two possible types, depending on the outcome of tha