diff --git a/scripts/cc-cli/package.json b/scripts/cc-cli/package.json index 7bf90626cc..cdd9414a0f 100644 --- a/scripts/cc-cli/package.json +++ b/scripts/cc-cli/package.json @@ -44,6 +44,6 @@ "prettier": "^3.3.2", "ts-jest": "^29.1.0", "ts-node": "^10.8.0", - "typescript": "^5.4.5" + "typescript": "^5.5.2" } } diff --git a/scripts/cc-cli/src/commands/registerAddress.ts b/scripts/cc-cli/src/commands/registerAddress.ts index d55b320d30..0c1ef6deeb 100644 --- a/scripts/cc-cli/src/commands/registerAddress.ts +++ b/scripts/cc-cli/src/commands/registerAddress.ts @@ -117,7 +117,7 @@ async function initWalletFromEnvOrPrompt( } if (process.env[envVar] !== undefined) { - const seed = process.env[envVar] as string; + const seed = process.env[envVar]; if (!validateInput(seed)) { throw new Error(`Error: ${inputName} is invalid`); diff --git a/scripts/cc-cli/yarn.lock b/scripts/cc-cli/yarn.lock index 398d8db670..a052e4e656 100644 --- a/scripts/cc-cli/yarn.lock +++ b/scripts/cc-cli/yarn.lock @@ -4415,10 +4415,10 @@ typedarray-to-buffer@^3.1.5: dependencies: is-typedarray "^1.0.0" -typescript@^5.4.5: - version "5.4.5" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.4.5.tgz#42ccef2c571fdbd0f6718b1d1f5e6e5ef006f611" - integrity sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ== +typescript@^5.5.2: + version "5.5.2" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.5.2.tgz#c26f023cb0054e657ce04f72583ea2d85f8d0507" + integrity sha512-NcRtPEOsPFFWjobJEtfihkLCZCXZt/os3zf8nTxjVH3RvTSxjrCamJpbExGvYOF+tFHc3pA65qpdwPbzjohhew== uglify-js@^3.1.4: version "3.17.4"