If you have following types
type Owner = {
name: string;
age: number;
};
type Pet = {
name: string;
age: number;
owner: Owner | null;
};
the resulting type of PickDeep<Pet, "name" | "owner.name">
is
type Result = {
name: string;
// `owner` is no longer nullable
owner: {
name: string;
};
}
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too