This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Array.map needs generics because the output type depends on the callback's return type, not a fixed union.
You've completed the free preview. Subscribe to unlock every lesson in every course.