From 6ba171b0c398807eec60da659efeda9a37899a86 Mon Sep 17 00:00:00 2001 From: Undeemiss Date: Tue, 31 May 2022 21:27:04 -0500 Subject: [PATCH] Unknown-ify count parameters --- src/NetscriptFunctions/Bladeburner.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NetscriptFunctions/Bladeburner.ts b/src/NetscriptFunctions/Bladeburner.ts index d492a285d..0cc5c47ea 100644 --- a/src/NetscriptFunctions/Bladeburner.ts +++ b/src/NetscriptFunctions/Bladeburner.ts @@ -279,7 +279,7 @@ export function NetscriptBladeburner(player: IPlayer, workerScript: WorkerScript }, getSkillUpgradeCost: (ctx: NetscriptContext) => - (_skillName: unknown, _count = 1): number => { + (_skillName: unknown, _count: unknown = 1): number => { const skillName = ctx.helper.string("skillName", _skillName); const count = ctx.helper.number("count", _count); checkBladeburnerAccess(ctx); @@ -293,7 +293,7 @@ export function NetscriptBladeburner(player: IPlayer, workerScript: WorkerScript }, upgradeSkill: (ctx: NetscriptContext) => - (_skillName: unknown, _count = 1): boolean => { + (_skillName: unknown, _count: unknown = 1): boolean => { const skillName = ctx.helper.string("skillName", _skillName); const count = ctx.helper.number("count", _count); checkBladeburnerAccess(ctx);