diff --git a/dist/bitburner.d.ts b/dist/bitburner.d.ts index 1d312c99f..7538ac845 100644 --- a/dist/bitburner.d.ts +++ b/dist/bitburner.d.ts @@ -2101,7 +2101,7 @@ export declare interface Hacknet { * // NS1: * var upgradeName = "Sell for Corporation Funds"; * if (hacknet.numHashes() > hacknet.hashCost(upgradeName)) { - * hacknet.spendHashes(upgName); + * hacknet.spendHashes(upgradeName); * } * ``` * @example @@ -2109,7 +2109,7 @@ export declare interface Hacknet { * // NS2: * const upgradeName = "Sell for Corporation Funds"; * if (ns.hacknet.numHashes() > ns.hacknet.hashCost(upgradeName)) { - * ns.hacknet.spendHashes(upgName); + * ns.hacknet.spendHashes(upgradeName); * } * ``` * @param upgName - Name of the upgrade of Hacknet Node. diff --git a/src/ScriptEditor/NetscriptDefinitions.d.ts b/src/ScriptEditor/NetscriptDefinitions.d.ts index 5191e4829..e6e654e2e 100644 --- a/src/ScriptEditor/NetscriptDefinitions.d.ts +++ b/src/ScriptEditor/NetscriptDefinitions.d.ts @@ -2618,7 +2618,7 @@ export interface Hacknet { * // NS1: * var upgradeName = "Sell for Corporation Funds"; * if (hacknet.numHashes() > hacknet.hashCost(upgradeName)) { - * hacknet.spendHashes(upgName); + * hacknet.spendHashes(upgradeName); * } * ``` * @example @@ -2626,7 +2626,7 @@ export interface Hacknet { * // NS2: * const upgradeName = "Sell for Corporation Funds"; * if (ns.hacknet.numHashes() > ns.hacknet.hashCost(upgradeName)) { - * ns.hacknet.spendHashes(upgName); + * ns.hacknet.spendHashes(upgradeName); * } * ``` * @param upgName - Name of the upgrade of Hacknet Node.