Lint+format fix?

This commit is contained in:
Snarling 2022-10-05 15:24:27 -04:00
parent 068533cd2f
commit 0310a98237
2 changed files with 7 additions and 4 deletions

@ -215,7 +215,8 @@ export interface CrimeStats {
* @public * @public
*/ */
export interface BasicHGWOptions { export interface BasicHGWOptions {
/** Number of threads to use for this function. Must be less than or equal to the number of threads the script is running with. */ /** Number of threads to use for this function.
* Must be less than or equal to the number of threads the script is running with. */
threads?: number; threads?: number;
/** Set to true this action will affect the stock market. */ /** Set to true this action will affect the stock market. */
stock?: boolean; stock?: boolean;
@ -540,7 +541,8 @@ export interface BitNodeMultipliers {
HackExpGain: number; HackExpGain: number;
/** Influences how quickly the player's hacking level (not experience) scales */ /** Influences how quickly the player's hacking level (not experience) scales */
HackingLevelMultiplier: number; HackingLevelMultiplier: number;
/** Influences how much money is produced by Hacknet Nodes and the hash rate of Hacknet Servers (unlocked in BitNode-9) */ /** Influences how much money is produced by Hacknet Nodes
* and the hash rate of Hacknet Servers (unlocked in BitNode-9) */
HacknetNodeMoney: number; HacknetNodeMoney: number;
/** Influences how much money it costs to upgrade your home computer's RAM */ /** Influences how much money it costs to upgrade your home computer's RAM */
HomeComputerRamCost: number; HomeComputerRamCost: number;
@ -548,7 +550,8 @@ export interface BitNodeMultipliers {
InfiltrationMoney: number; InfiltrationMoney: number;
/** Influences how much rep the player can gain from factions when selling stolen documents and secrets */ /** Influences how much rep the player can gain from factions when selling stolen documents and secrets */
InfiltrationRep: number; InfiltrationRep: number;
/** Influences how much money can be stolen from a server when the player performs a hack against it through the Terminal. */ /** Influences how much money can be stolen from a server when the player
* performs a hack against it through the Terminal. */
ManualHackMoney: number; ManualHackMoney: number;
/** Influence how much it costs to purchase a server */ /** Influence how much it costs to purchase a server */
PurchasedServerCost: number; PurchasedServerCost: number;

@ -128,7 +128,7 @@ describe("Netscript RAM Calculation/Generation Tests", function () {
describe("Singularity multiplier checks", () => { describe("Singularity multiplier checks", () => {
sf4.lvl = 3; sf4.lvl = 3;
const singFunctions = Object.entries(ns.singularity).filter(([key, val]) => typeof val === "function"); const singFunctions = Object.entries(ns.singularity).filter(([__, val]) => typeof val === "function");
const singObjects = singFunctions.map(([key, val]) => { const singObjects = singFunctions.map(([key, val]) => {
return { return {
name: key, name: key,