ATProto Browser

ATProto Browser

Experimental browser for the Atmosphere

Post

null and undefined don't in your example, but arrays definitely would because Record<string, any> is { [key: string]: any }, and arrays are structured types, so they certainly have properties that can be assigned to any. That link compiles in every version of TS I choose in the dropdown on that page

May 8, 2025, 4:07 PM

Record data

{
  "uri": "at://did:plc:4eukmtg5kmyjmp6qw3xkpite/app.bsky.feed.post/3looca5gmss2p",
  "cid": "bafyreiciup3j7vbme2kmtq2okoldyybvw5yfx6lraar5ojxu2blsqgv55e",
  "value": {
    "text": "null and undefined don't in your example, but arrays definitely would because Record<string, any> is { [key: string]: any }, and arrays are structured types, so they certainly have properties that can be assigned to any. That link compiles in every version of TS I choose in the dropdown on that page",
    "$type": "app.bsky.feed.post",
    "langs": [
      "en"
    ],
    "reply": {
      "root": {
        "cid": "bafyreie6tegkfojmnvroxqvd6f5nwa7ejpounnvsgipbfich23ym3bgvge",
        "uri": "at://did:plc:dom5xpmepmtuk52jspdkb5sd/app.bsky.feed.post/3loob56yrlb2v"
      },
      "parent": {
        "cid": "bafyreie6tegkfojmnvroxqvd6f5nwa7ejpounnvsgipbfich23ym3bgvge",
        "uri": "at://did:plc:dom5xpmepmtuk52jspdkb5sd/app.bsky.feed.post/3loob56yrlb2v"
      }
    },
    "createdAt": "2025-05-08T16:07:34.496Z"
  }
}