Re:Why doesn't TypeScript properly type Object.keys?
by rcfox on Saturday June 24, 2023 @01:12PM
(#36460608)
What are the common operations you can perform on that union?
[ Parent
| on HN ]
Re:Why doesn't TypeScript properly type Object.keys?
by consilient on Saturday June 24, 2023 @07:06PM
(#36463491)
You can narrow it exhaustively.