FlashcardIntermediate

Constraining a Parameter by keyof

See how one type parameter can be constrained to another's keys.

Question

How can one type parameter be constrained by another using keyof?

Click to reveal answer