API: Expose ProgramName enum (#2492)

This commit is contained in:
catloversg
2026-02-14 02:51:42 +07:00
committed by GitHub
parent be66b766a2
commit 68700ff01f
14 changed files with 115 additions and 24 deletions
@@ -9,7 +9,7 @@ Get the hacking level requirement of a program.
**Signature:**
```typescript
getHackingLevelRequirementOfProgram(program: string): number;
getHackingLevelRequirementOfProgram(programName: ProgramName): number;
```
## Parameters
@@ -32,12 +32,12 @@ Description
</th></tr></thead>
<tbody><tr><td>
program
programName
</td><td>
string
[ProgramName](./bitburner.programname.md)
</td><td>