Switch to typescript 5.8.3 (#9152)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2025-06-04 17:57:10 +05:00
committed by GitHub
parent 07c364c776
commit fcb67d20f8
562 changed files with 5212 additions and 5273 deletions
@@ -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) {