DEV Community

Cover image for What is TypeScript Pick?
Martins Gouveia
Martins Gouveia

Posted on

What is TypeScript Pick?

Pick allows you to create a new type by selecting specific, properties from an axisting one.

This is particularly helpful when you whant to expose only a subset of an object's properties or when working with lerge objects with many properties.

Image description

Read more: https://refine.dev/blog/typescript-pick-utility-type/#when-to-avoid

Top comments (0)