Course contentsShow
TypeScript
Lesson 937 of 1,79621. The unknown TypePro lesson

unknown in Generic Constraints

Prefer unknown over any as a constraint when a generic parameter can be anything but must be narrowed before use.

This lesson is for subscribers

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