What is the keyof operator in TypeScript, and how is it used?

Instruction: Describe the keyof operator and provide an example of its use.

Context: This question tests the candidate's understanding of the keyof operator and its role in TypeScript's type system.

Upgrade to view answer

Related Questions