advanced35 minby DevFox

Variance, Assignability, and Structural Typing

What makes one type assignable to another, co- and contravariance in function types, method bivariance and the unsoundness it permits.

  • TypeScript
  • Types