mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2025-01-09 06:47:34 +01:00
Fixed Lint Errors
This commit is contained in:
parent
daadecb4e6
commit
ac38e715aa
@ -411,7 +411,7 @@ export function NetscriptStockMarket(player: IPlayer, workerScript: WorkerScript
|
|||||||
},
|
},
|
||||||
purchaseTixApi: function (): boolean {
|
purchaseTixApi: function (): boolean {
|
||||||
helper.updateDynamicRam("PurchaseTixApi", getRamCost(player, "stock", "purchaseTixApi"));
|
helper.updateDynamicRam("PurchaseTixApi", getRamCost(player, "stock", "purchaseTixApi"));
|
||||||
|
|
||||||
if (player.hasTixApiAccess) {
|
if (player.hasTixApiAccess) {
|
||||||
workerScript.log("stock.purchaseTixApi", () => "Already purchased TIX API");
|
workerScript.log("stock.purchaseTixApi", () => "Already purchased TIX API");
|
||||||
return true;
|
return true;
|
||||||
|
2
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
2
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@ -1517,7 +1517,7 @@ export interface TIX {
|
|||||||
/**
|
/**
|
||||||
* Purchase TIX API Access
|
* Purchase TIX API Access
|
||||||
* @remarks RAM cost: 2.5 GB
|
* @remarks RAM cost: 2.5 GB
|
||||||
* @returns True if you successfully purchased it or if you already have access, false otherwise.
|
* @returns True if you successfully purchased it or if you already have access, false otherwise.
|
||||||
*/
|
*/
|
||||||
purchaseTixApi(): boolean;
|
purchaseTixApi(): boolean;
|
||||||
}
|
}
|
||||||
|
@ -15,4 +15,4 @@ export function getStockMarketWseCost(): number {
|
|||||||
|
|
||||||
export function getStockMarketTixApiCost(): number {
|
export function getStockMarketTixApiCost(): number {
|
||||||
return CONSTANTS.TIXAPICost;
|
return CONSTANTS.TIXAPICost;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user