mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-18 07:18:38 +02:00
MISC: Enforce stricter param check on ns.getBitNodeMultipliers and ns.hacknet.spendHashes (#2085)
This commit is contained in:
2
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
2
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@@ -3110,7 +3110,7 @@ export interface Hacknet {
|
||||
* ```
|
||||
* @param upgName - Name of the upgrade of Hacknet Node.
|
||||
* @param upgTarget - Object to which upgrade applies. Required for certain upgrades.
|
||||
* @param count - Number of upgrades to buy at once. Defaults to 1 if not specified.
|
||||
* @param count - Number of upgrades to buy at once. Must be a non-negative integer. Defaults to 1 if not specified.
|
||||
* For compatibility reasons, upgTarget must be specified, even if it is not used, in order to specify count.
|
||||
* @returns True if the upgrade is successfully purchased, and false otherwise.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user