BUGFIX: bladeburner.getActionRepGain: mark level param as optional in signature (#1375)

This commit is contained in:
Albert Llop
2024-06-10 01:34:53 +02:00
committed by GitHub
parent a0fc9cc713
commit 995294a770
2 changed files with 3 additions and 3 deletions

View File

@@ -3132,7 +3132,7 @@ export interface Bladeburner {
* @param level - Optional number. Action level at which to calculate the gain. Will be the action's current level if not given.
* @returns Average Bladeburner reputation gain for successfully completing the specified action.
*/
getActionRepGain(type: string, name: string, level: number): number;
getActionRepGain(type: string, name: string, level?: number): number;
/**
* Get action count remaining.