TypeScript ships several built-in utility types that transform an existing type into a new one. Which of these is a built-in utility type?
- a
Optional<T> - b
Partial<T>✓ - c
Nullable<T> - d
Mutable<T>
Explanation:
Partial<T> is one of TypeScript's built-in utility types — it produces a new type where every property of T is optional. Optional, Nullable, and Mutable are not part of the standard library (teams sometimes define their own similarly-named helpers, but they aren't built in).