bump api, remove as number
from types (#3580)
* bump api, remove `as number` from types * bump dev env
This commit is contained in:
parent
38074854b2
commit
45e572b212
3 changed files with 32 additions and 33 deletions
|
@ -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,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue