FlashcardIntermediate

Generic Constraints Using keyof

Understand what keyof produces and how it constrains generics.

Question

What does `keyof T` represent in a generic constraint?

Click to reveal answer