
All Talks
TypeScript Concepts in Depth: Variance
Interactive Presentation
Click the presentation to use its keyboard controls.
About this Talk
Why does TypeScript accept an assignment in one place and reject it in another? This 20-minute JS Poland talk explains covariance, contravariance, bivariance and invariance through practical Car and ECar examples. It covers return values, function parameters, method syntax and the surprising behavior of mutable arrays.
Newsletter
Get AI articles, news, and upcoming workshops in your inbox.