Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on How I Program in 2024. Parent comment
function foo (): {data: MyCustomObject, message: string}
so foo().data and foo().message is a valid object, while foo().bar will throw build error
There are no comments on this comment yet.
function foo (): {data: MyCustomObject, message: string}
so foo().data and foo().message is a valid object, while foo().bar will throw build error