What does keyof produce for an object type with id and name properties?
Answer options
- A. The union "id" | "name"
- B. The union number | string
- C. An array of runtime keys
- D. The values of both properties
Knowledge Check
What does keyof produce for an object type with id and name properties?
Key union is a knowledge check interview exercise that trains prompt interpretation, explicit assumptions, a concrete response, and a clear explanation of tradeoffs. The catalog marks it as medium difficulty. It focuses on Frontend Language Browser, Ts Generics Modules. The signed-in workspace provides the tools for the round and evaluates the attempt against task-specific criteria. Reference solutions, hidden checks, evaluator instructions, and candidate work remain private.