mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-21 00:32:51 +02:00
API: Expose ProgramName enum (#2492)
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user