Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on All I Want for Christmas Is These Seven TypeScript Improvements. Parent comment
Not really. Typescript already has the
keyof
Object.entries(T)
string[]
keyof typeof T
There are no comments on this comment yet.
Not really. Typescript already has the
keyword. For some reason though returns when it could easily return I've had to write a helper function that essentially does this for you with a generic and a cast, but it feels unnecessary.