import { NS } from "@ns"; import { cloud } from "./ezgame/cloud"; export const main = (ns: NS) => { const upgradeCost = ns.cloud.getServerUpgradeCost("worker-1", 2); console.log(upgradeCost); cloud.upgradeAll(ns); };