← Code LabTypeScript0/50 solved · 0%
Generics · medium

26. Basic Mapped Types

Create new types by iterating over keys.

Write `Optional<T>` that makes all keys in `T` optional (reimplement Partial).
Required in your answer: [P in keyof T]?