-
Notifications
You must be signed in to change notification settings - Fork 12.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change signature of Object.keys to return (keyof T)[] #37495
Comments
Please respect the issue templates for bug reports and feature requests. Both issue templates ask you to search for existing issues before opening a new one. This is a duplicate and has been rejected multiple times: #12253 (comment), #30314, #13254. #30228, #28899, #28284, #26901, #30749, #31087, #32321, #34498, #35145. |
@MartinJohns I'm becoming worried that listing all the duplicates is resulting in an |
Considering how often this and similar questions are asked I have absolutely no doubt that Microsoft / GitHub will run of space in no time! |
This seems like a simple thing, although I know there's probably a reason it's not already like this.
Currently the signature of
Object.keys
is:But why not make it more specific?:
The text was updated successfully, but these errors were encountered: