Beginner TypeScript
Q22 / 100

Which built-in utility type makes all properties of a type optional?

Correct! Well done.

Incorrect.

The correct answer is B) Partial<T>

B

Correct Answer

Partial<T>

Explanation

Partial<T> constructs a type with all properties of T set to optional.

Progress
22/100