bump api, remove as number from types (#3580)

* bump api, remove `as number` from types

* bump dev env
This commit is contained in:
Hailey 2024-04-16 12:34:34 -07:00 committed by GitHub
parent 38074854b2
commit 45e572b212
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 32 additions and 33 deletions

View file

@ -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,
}
}