pickCreates a new object composed of picked properties from the original object.
obj (T extends object): The source object.keysToPick (readonly K[]): An array of keys to pick.Pick<T, Extract<K, ExistingKeys<T>>>): A new object containing only the picked keys.