← Code LabTypeScript0/50 solved · 0%
Utility Types · easy

20. Pick Utility

Select a subset of properties.

Use `Pick` to create a `UserPreview` containing only `name` from `User`.
Required in your answer: Pick<User, 'name'>