Assignability b/w generic keyof T
and KeysOfUnion<T>
#1008
Labels
enhancement
New feature or request
keyof T
and KeysOfUnion<T>
#1008
Ideally,
keyof T
should be assignable toKeysOfUnion<T>
andKeysOfUnion<T>
should not be assignable tokeyof T
.However, currently the exactly opposite happens.
Upvote & Fund
The text was updated successfully, but these errors were encountered: