mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-21 08:42:53 +02:00
Commit1
This commit is contained in:
@@ -9,7 +9,6 @@
|
||||
import { HashUpgrades } from "./HashUpgrades";
|
||||
import { HashUpgrade } from "./HashUpgrade";
|
||||
|
||||
import { IMap } from "../types";
|
||||
import { Generic_fromJSON, Generic_toJSON, IReviverValue, Reviver } from "../utils/JSONReviver";
|
||||
|
||||
export class HashManager {
|
||||
@@ -21,7 +20,7 @@ export class HashManager {
|
||||
hashes = 0;
|
||||
|
||||
// Map of Hash Upgrade Name -> levels in that upgrade
|
||||
upgrades: IMap<number> = {};
|
||||
upgrades: Record<string, number> = {};
|
||||
|
||||
constructor() {
|
||||
for (const name of Object.keys(HashUpgrades)) {
|
||||
|
||||
Reference in New Issue
Block a user