Scala
from2ality
3 months agoThe unexpected way in which conditional types constrain type variables in TypeScript
Conditional types in TypeScript constrain generics, providing new insights during type checks and leading to complex results.
Conditional types can produce both true and false due to their distributive nature.