Day 13, this one is a bit difficult as we need to understand covariant and contravariant of TypeScript.

To enforce an invariant, we need to apply `out` to enforce contravariance and `in` to enfore covariance to the generic type.
Post image

Comments