Skip to content
Medium-Easy Understand TypeScript Multiple Choice

What does keyof T produce?

Understand — Tests comprehension and ability to explain concepts.

Answer Options

A The values of T as a union
B The keys of T as a union of string/symbol literal types
C An array of T's keys
D The 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