mirror of
https://github.com/hcengineering/platform.git
synced 2026-08-22 04:12:23 +02:00
Switch to typescript 5.8.3 (#9152)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
@@ -691,7 +691,9 @@ export function toReviewDecision (reviewDecision: PullRequestExternalData['revie
|
||||
}
|
||||
|
||||
export function getUpdatedAtReviewThread (review: ReviewThread): number {
|
||||
const value = (review.comments.nodes.map((it) => it.updatedAt).filter((it) => it != null) as string[])
|
||||
const value = review.comments.nodes
|
||||
.map((it) => it.updatedAt)
|
||||
.filter((it) => it != null)
|
||||
.map((it) => new Date(it).getTime())
|
||||
.reduce((prev, it) => (it > prev ? it : prev), 0)
|
||||
if (value === 0) {
|
||||
|
||||
Reference in New Issue
Block a user