Given #14224, I think that Partial should be defined as follows:
type Partial<T extends object> = {
[K in keyof T]?: T[K]
}
Readonly could be defined similarly.
I don't necessarily know if Pick should be defined that way. Part of me thinks that this Pick has a different intent.
Given #14224, I think that
Partialshould be defined as follows:Readonlycould be defined similarly.I don't necessarily know if
Pickshould be defined that way. Part of me thinks that thisPickhas a different intent.