Should 'Partial<T>' and Readonly<T> should have their type parameters constrained to 'object'? #14249
Labels
Declined
The issue was declined as something which matches the TypeScript vision
Suggestion
An idea for TypeScript
Given #14224, I think that
Partial
should be defined as follows:Readonly
could be defined similarly.I don't necessarily know if
Pick
should be defined that way. Part of me thinks that thisPick
has a different intent.The text was updated successfully, but these errors were encountered: