Skip to content

Conversation

@boenrobot
Copy link

This allows further operations to be limited to those specific keys more easily.

Fixes #

This allows further operations to be limited to those specific keys more easily.
@j-oliveras
Copy link
Contributor

This it was rejected multiple times. See
https://stackoverflow.com/questions/55012174/why-doesnt-object-keys-return-a-keyof-type-in-typescript

You should search before, its easy to found it was rejected.

@boenrobot
Copy link
Author

Considering this is not the first duplicate, and probably won't be the last, maybe include somewhere a note on the rationale for this decision?

Like, in the doc comments or better yet, in the handbook, somewhere close to the description of keyof?

@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 21, 2025
@typescript-bot
Copy link
Collaborator

This PR doesn't have any linked issues. Please open an issue that references this PR. From there we can discuss and prioritise.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants