This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Restrict type parameters to be one of several specific shapes by constraining to a union of object types.
You've completed the free preview. Subscribe to unlock every lesson in every course.