Course contentsShow
TypeScript
Lesson 627 of 1,79615. Generic ConstraintsPro lesson

Constraining One Type Parameter to Another

Use extends to require one type parameter to be a subtype of another in the same signature.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.