diff --git a/package-lock.json b/package-lock.json index cbc434e416c..b921af460e0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16419,7 +16419,7 @@ "lodash.get": { "version": "4.4.2", "resolved": "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz", - "integrity": "sha512-z+Uw/vLuy6gQe8cfaFWD7p0wVv8fJl3mbzXh33RS+0oW2wvUqiRXiQ69gLWSLpgB5/6sU+r6BlQR0MBILadqTQ==", + "integrity": "sha1-LRd/ZS+jHpObRDjVNBSZ36OCXpk=", "dev": true }, "lodash.isarguments": { @@ -23226,9 +23226,9 @@ } }, "typescript": { - "version": "4.9.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", - "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.0.3.tgz", + "integrity": "sha512-xv8mOEDnigb/tN9PSMTwSEqAnUvkoXMQlicOb0IUVDBSQCgBSaAAROUZYy2IcUy5qU6XajK5jjjO7TMWqBTKZA==", "dev": true }, "uglify-js": { diff --git a/package.json b/package.json index 095fcf5b823..10cd6a9f0cf 100644 --- a/package.json +++ b/package.json @@ -171,7 +171,7 @@ "ts-morph": "18.0.0", "ts-node": "10.9.1", "typeorm": "0.3.12", - "typescript": "4.9.5", + "typescript": "5.0.3", "wrk": "1.2.1", "ws": "8.13.0" }, @@ -243,4 +243,4 @@ ], "exit": true } -} \ No newline at end of file +} diff --git a/packages/core/middleware/routes-mapper.ts b/packages/core/middleware/routes-mapper.ts index 5a803f49995..d882de8c8e4 100644 --- a/packages/core/middleware/routes-mapper.ts +++ b/packages/core/middleware/routes-mapper.ts @@ -37,7 +37,7 @@ export class RoutesMapper { return [ { path: addLeadingSlash(routePath), - method: defaultRequestMethod, + method: defaultRequestMethod as any, }, ]; } diff --git a/packages/tsconfig.build.json b/packages/tsconfig.build.json index 956514f6d5e..f91353d5bc1 100644 --- a/packages/tsconfig.build.json +++ b/packages/tsconfig.build.json @@ -5,7 +5,6 @@ "declaration": true, "noImplicitAny": false, "skipLibCheck": true, - "suppressImplicitAnyIndexErrors": true, "noUnusedLocals": false, "importHelpers": true, "removeComments": false,