Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
presentation
on June 24, 2023
|
parent
|
context
|
favorite
| on:
Why doesn't TypeScript properly type Object.keys?
At my company we just have a wrapper around the Object.keys function (and other similar functions) that provide a more specific type in case you are sure it won’t be a problem (which we generally are for objects we’ve created ourselves).
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: