Course contentsShow
TypeScript
Lesson 1663 of 1,79638. Common Patterns and AntipatternsPro lesson

When Generics Are Better: Type Preservation Needed

Use generics when the exact type must flow through a function and be preserved in the return type.

This lesson is for subscribers

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