Course contentsShow
TypeScript
Lesson 891 of 1,79620. The any Escape HatchPro lesson

unknown in Generic Constraints

Use unknown as a constraint when you need a type parameter but don't want to accept any implicitly.

This lesson is for subscribers

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