DEV Community

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

Posted on

2

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)

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up