diff options
author | Hailey <me@haileyok.com> | 2024-04-16 12:34:34 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-16 20:34:34 +0100 |
commit | 45e572b212691e100f11c67c89d7d65067c5ad51 (patch) | |
tree | a004c0052bdfd74e9f05d2831412592ea523bc1a /src | |
parent | 38074854b25aefb6e8d5602c280dda77727b7e6a (diff) | |
download | voidsky-45e572b212691e100f11c67c89d7d65067c5ad51.tar.zst |
bump api, remove `as number` from types (#3580)
* bump api, remove `as number` from types * bump dev env
Diffstat (limited to 'src')
-rw-r--r-- | src/state/queries/util.ts | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/state/queries/util.ts b/src/state/queries/util.ts index 94d6c9df7..b74893fcd 100644 --- a/src/state/queries/util.ts +++ b/src/state/queries/util.ts @@ -54,9 +54,8 @@ export function embedViewRecordToPostView( indexedAt: v.indexedAt, labels: v.labels, embed: v.embeds?.[0], - // TODO we can remove the `as` once we update @atproto/api - likeCount: v.likeCount as number | undefined, - replyCount: v.replyCount as number | undefined, - repostCount: v.repostCount as number | undefined, + likeCount: v.likeCount, + replyCount: v.replyCount, + repostCount: v.repostCount, } } |