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
+1 -1
View File
@@ -43,7 +43,7 @@
"eslint-config-standard-with-typescript": "^40.0.0",
"prettier": "^3.1.0",
"ts-node": "^10.8.0",
"typescript": "^5.3.3",
"typescript": "^5.8.3",
"@types/ws": "^8.5.11",
"smee-client": "^1.2.3",
"@octokit/webhooks-types": "^7.3.1",
@@ -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) {