🏠
Author: searyanc.dev (did:plc:k4hstfvvvpj7befljr3bvcso)

Collections

Record🤔

uri:
"at://did:plc:k4hstfvvvpj7befljr3bvcso/app.bsky.feed.post/3l4ehhfjapp2i"
cid:
"bafyreibjr5q42voi22mhmmqljtzg6gaw6q46ailxvbtlf26daxzyoocnfa"
value:
text:
"Let's say you're writing a .d.ts file for a library and you find a function `foo()` whose documentation doesn't say anything about the return value at all. It's 100% undocumented.

What should you write for the return type annotation?

declare function foo(): ????"
$type:
"app.bsky.feed.post"
langs:
  • "en"
createdAt:
"2024-09-17T16:40:59.388Z"