Medium-EasyUnderstandTypeScriptMultiple Choice

What does keyof T produce?

Understand Tests comprehension and ability to explain concepts.

Answer Options

AThe values of T as a union
BThe keys of T as a union of string/symbol literal types
CAn array of T's keys
DThe number of keys in T

Want to see the correct answer?

Get the answer with a detailed explanation, plus practice 32+ more TypeScript questions with adaptive quizzes and timed interviews.

See the Answer on Guru Sishya →

This question is from the TypeScript topic (Programming Languages).

More TypeScript Questions