TypeScript's type system is Turing Complete. You can model algebraic data types (unions, intersections, tuples, conditional types, mapped types, and more. In TS 4.1, template literal types were introduced, making it easy to do string manipulation within the type system.
Sort: