Intermediate TypeScript
Q60 / 100

What does "ReturnType<typeof myFunc>" give you?

Correct! Well done.

Incorrect.

The correct answer is B) The return type of the function myFunc

B

Correct Answer

The return type of the function myFunc

Explanation

ReturnType<T> is a utility type that extracts the return type of a function type T.

Progress
60/100