fix any in IBladeburner

This commit is contained in:
Olivier Gagnon
2022-07-18 03:16:36 -04:00
parent ceed844523
commit 6afeb6972f

View File

@ -7,6 +7,8 @@ import { IPerson } from "../PersonObjects/IPerson";
import { ITaskTracker } from "../PersonObjects/ITaskTracker";
import { IRouter } from "../ui/Router";
import { WorkerScript } from "../Netscript/WorkerScript";
import { Contract } from "./Contract";
import { Operation } from "./Operation";
export interface IBladeburner {
numHosp: number;
@ -31,17 +33,23 @@ export interface IBladeburner {
action: IActionIdentifier;
cities: any;
cities: Record<string, City>;
city: string;
skills: any;
skillMultipliers: any;
skills: Record<string, number>;
skillMultipliers: Record<string, number>;
staminaBonus: number;
maxStamina: number;
stamina: number;
contracts: any;
operations: any;
blackops: any;
logging: any;
contracts: Record<string, Contract>;
operations: Record<string, Operation>;
blackops: Record<string, boolean>;
logging: {
general: boolean;
contracts: boolean;
ops: boolean;
blackops: boolean;
events: boolean;
};
automateEnabled: boolean;
automateActionHigh: IActionIdentifier;
automateThreshHigh: number;