diff --git a/package.json b/package.json index b2c5cf4a5..adc355cca 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "scripts": { "lint": "nx run-many --parallel --target lint --all", "test": "nx run-many --parallel --target test --all", + "check-types": "nx run-many --parallel --target check-types --all", "affected:lint": "nx affected --base=origin/main --head=HEAD --target=lint", "affected:test": "nx affected --base=origin/main --head=HEAD --target=test", "affected:e2e": "nx affected --base=origin/main --head=HEAD --target=e2e", @@ -206,7 +207,7 @@ "ts-jest": "29.1.0", "ts-node": "^10.9.2", "tslib": "^2.3.0", - "typescript": "^5.3.3", + "typescript": "^5.7.2", "url-loader": "^4.1.1", "validate-npm-package-name": "^5.0.0", "verdaccio": "^5.27.0", diff --git a/sdk/nestjs/src/VariableValue.test.ts b/sdk/nestjs/src/VariableValue.test.ts index 59a8e590f..013bc9217 100644 --- a/sdk/nestjs/src/VariableValue.test.ts +++ b/sdk/nestjs/src/VariableValue.test.ts @@ -15,7 +15,6 @@ function getParamDecoratorFactory(decorator: () => ParameterDecorator) { } describe('VariableValue', () => { - let ctx: ExecutionContext let dvcClient: DevCycleClient let dvcUser: DevCycleUser @@ -40,7 +39,7 @@ describe('VariableValue', () => { const defaultValue = 'default value' const factory = getParamDecoratorFactory(VariableValue) - const value = factory({ key, default: defaultValue }, ctx) + const value = factory({ key, default: defaultValue }) expect(dvcClient.variableValue).toBeCalledWith( dvcUser, diff --git a/yarn.lock b/yarn.lock index 8c58d67ad..88693cd58 100644 --- a/yarn.lock +++ b/yarn.lock @@ -15437,7 +15437,7 @@ __metadata: ts-jest: 29.1.0 ts-node: ^10.9.2 tslib: ^2.3.0 - typescript: ^5.3.3 + typescript: ^5.7.2 ua-parser-js: ^1.0.36 url-loader: ^4.1.1 uuid: ^8.3.2 @@ -31111,7 +31111,7 @@ __metadata: languageName: node linkType: hard -"typescript@npm:^5.2.2, typescript@npm:^5.3.3": +"typescript@npm:^5.2.2": version: 5.3.3 resolution: "typescript@npm:5.3.3" bin: @@ -31121,6 +31121,16 @@ __metadata: languageName: node linkType: hard +"typescript@npm:^5.7.2": + version: 5.7.2 + resolution: "typescript@npm:5.7.2" + bin: + tsc: bin/tsc + tsserver: bin/tsserver + checksum: b55300c4cefee8ee380d14fa9359ccb41ff8b54c719f6bc49b424899d662a5ce62ece390ce769568c7f4d14af844085255e63788740084444eb12ef423b13433 + languageName: node + linkType: hard + "typescript@npm:~5.1.3": version: 5.1.6 resolution: "typescript@npm:5.1.6" @@ -31151,7 +31161,7 @@ __metadata: languageName: node linkType: hard -"typescript@patch:typescript@^5.2.2#~builtin, typescript@patch:typescript@^5.3.3#~builtin": +"typescript@patch:typescript@^5.2.2#~builtin": version: 5.3.3 resolution: "typescript@patch:typescript@npm%3A5.3.3#~builtin::version=5.3.3&hash=5da071" bin: @@ -31161,6 +31171,16 @@ __metadata: languageName: node linkType: hard +"typescript@patch:typescript@^5.7.2#~builtin": + version: 5.7.2 + resolution: "typescript@patch:typescript@npm%3A5.7.2#~builtin::version=5.7.2&hash=5da071" + bin: + tsc: bin/tsc + tsserver: bin/tsserver + checksum: 803430c6da2ba73c25a21880d8d4f08a56d9d2444e6db2ea949ac4abceeece8e4a442b7b9b585db7d8a0b47ebda2060e45fe8ee8b8aca23e27ec1d4844987ee6 + languageName: node + linkType: hard + "typescript@patch:typescript@~5.1.3#~builtin": version: 5.1.6 resolution: "typescript@patch:typescript@npm%3A5.1.6#~builtin::version=5.1.6&hash=5da071"