Beginner TypeScript
Q23 / 100

What is the output type of "typeof" used in a type context, e.g. "type T = typeof someVar"?

Correct! Well done.

Incorrect.

The correct answer is B) The TypeScript type of that variable

B

Correct Answer

The TypeScript type of that variable

Explanation

In a type context, typeof extracts the static type of a value, useful for deriving types from variables.

Progress
23/100