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
@@ -29,7 +29,7 @@
"jest": "^29.7.0",
"ts-jest": "^29.1.1",
"@types/jest": "^29.5.5",
"typescript": "^5.3.3"
"typescript": "^5.8.3"
},
"dependencies": {
"@hcengineering/platform": "^0.6.11",
@@ -27,7 +27,7 @@
"prettier-plugin-svelte": "^3.2.2",
"prettier": "^3.1.0",
"svelte-check": "^3.6.9",
"typescript": "^5.3.3",
"typescript": "^5.8.3",
"@types/qs": "~6.9.7",
"jest": "^29.7.0",
"ts-jest": "^29.1.1",
+1 -1
View File
@@ -30,7 +30,7 @@
"@typescript-eslint/parser": "^6.11.0",
"eslint-config-standard-with-typescript": "^40.0.0",
"prettier": "^3.1.0",
"typescript": "^5.3.3",
"typescript": "^5.8.3",
"jest": "^29.7.0",
"ts-jest": "^29.1.1",
"@types/jest": "^29.5.5"
+2 -1
View File
@@ -24,7 +24,8 @@
"@typescript-eslint/parser": "^6.11.0",
"eslint-config-standard-with-typescript": "^40.0.0",
"prettier": "^3.1.0",
"typescript": "^5.3.3"
"typescript": "^5.8.3",
"@types/node": "^22.15.29"
},
"dependencies": {
"@hcengineering/contact": "^0.6.24",
+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) {
@@ -24,7 +24,8 @@
"@typescript-eslint/parser": "^6.11.0",
"eslint-config-standard-with-typescript": "^40.0.0",
"prettier": "^3.1.0",
"typescript": "^5.3.3"
"typescript": "^5.8.3",
"@types/node": "^22.15.29"
},
"dependencies": {
"@hcengineering/core": "^0.6.32",
@@ -30,7 +30,7 @@
"@typescript-eslint/parser": "^6.11.0",
"eslint-config-standard-with-typescript": "^40.0.0",
"prettier": "^3.1.0",
"typescript": "^5.3.3",
"typescript": "^5.8.3",
"jest": "^29.7.0",
"ts-jest": "^29.1.1",
"@types/jest": "^29.5.5"
+1 -1
View File
@@ -31,7 +31,7 @@
"@typescript-eslint/parser": "^6.11.0",
"eslint-config-standard-with-typescript": "^40.0.0",
"prettier": "^3.1.0",
"typescript": "^5.3.3",
"typescript": "^5.8.3",
"jest": "^29.7.0",
"ts-jest": "^29.1.1",
"@types/jest": "^29.5.5"