bump api, remove as number from types (#3580)
* bump api, remove `as number` from types * bump dev env
This commit is contained in:
@@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user