TypeScript Professional — Hard
Key points
- TypeScript's bivariant checking allows for both covariance and contravariance
- Parameters can be supertypes or subtypes
- Provides flexibility in method declarations
Ready to go further?
Related questions
TypeScript Professional — Hard
Key points
Ready to go further?
Related questions