Skip to content

Commit 88e59cf

Browse files
committed
chore: upgrade TypeScript to 5.9.3 across packages
- Updated TypeScript from 5.4.5 to 5.9.3 in all dependencies and peer dependencies. - Adjusted imports to include `with {type: "json"}` for better file type enforcement. - Minor refactor in `SocketSessionData` to reorder static and instance members.
1 parent 001fc70 commit 88e59cf

File tree

76 files changed

+194
-192
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+194
-192
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,3 +93,5 @@ tools/**/dist
9393
!.yarn/cache
9494
!.yarn/sdks
9595
!.yarn/versions
96+
97+
tsconfig.*.tsbuildinfo

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@
145145
"supertest": "7.0.0",
146146
"ts-loader": "9.5.1",
147147
"tslib": "2.7.0",
148-
"typescript": "5.4.5",
148+
"typescript": "5.9.3",
149149
"unplugin-swc": "1.5.1",
150150
"vite": "7.1.11",
151151
"vite-plugin-dts": "4.5.4",

packages/config/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
"dotenv-expand": "^12.0.2",
7474
"dotenv-flow": "^4.1.0",
7575
"eslint": "9.12.0",
76-
"typescript": "5.4.5",
76+
"typescript": "5.9.3",
7777
"vitest": "3.2.4"
7878
},
7979
"peerDependencies": {

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"@tsed/monorepo-utils": "2.3.13",
4444
"@tsed/typescript": "workspace:*",
4545
"@tsed/vitest": "workspace:*",
46-
"typescript": "5.4.5",
46+
"typescript": "5.9.3",
4747
"vitest": "3.2.4"
4848
}
4949
}

packages/core/src/utils/decoratorTypeOf.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export function decoratorTypeOf(args: any[]): DecoratorTypes {
1919
};
2020

2121
if (typeof descriptor === "number") {
22-
return propertyKey ? staticType("parameter") : "parameter.constructor";
22+
return propertyKey ? staticType("parameter") : DecoratorTypes.PARAM_CTOR;
2323
}
2424

2525
if (descriptor && descriptor.value) {

packages/di/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"@tsed/typescript": "workspace:*",
3737
"cross-env": "7.0.3",
3838
"eslint": "9.12.0",
39-
"typescript": "5.4.5",
39+
"typescript": "5.9.3",
4040
"vite": "7.1.11",
4141
"vitest": "3.2.4"
4242
},

packages/engines/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
"ts-node": "10.9.2",
9090
"twig": "^1.17.1",
9191
"twing": "^5.2.2",
92-
"typescript": "5.4.5",
92+
"typescript": "5.9.3",
9393
"underscore": "^1.13.7",
9494
"vash": "^0.13.0",
9595
"velocityjs": "^2.0.6",

packages/graphql/apollo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"apollo-server-testing": "2.26.2",
4040
"eslint": "9.12.0",
4141
"graphql": "16.9.0",
42-
"typescript": "5.4.5",
42+
"typescript": "5.9.3",
4343
"vitest": "3.2.4"
4444
},
4545
"peerDependencies": {

packages/graphql/graphql-ws/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"@types/ws": "8.18.1",
3434
"eslint": "9.12.0",
3535
"graphql-ws": "6.0.5",
36-
"typescript": "5.4.5",
36+
"typescript": "5.9.3",
3737
"ws": "8.18.1"
3838
},
3939
"peerDependencies": {

packages/graphql/typegraphql/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"graphql-scalars": "1.24.1",
4545
"ts-node": "10.9.2",
4646
"type-graphql": ">=2.0.0-rc.2",
47-
"typescript": "5.4.5",
47+
"typescript": "5.9.3",
4848
"vitest": "3.2.4"
4949
},
5050
"peerDependencies": {

0 commit comments

Comments
 (0)