API: Change getDarkwebPrograms return type to ProgramName[] (#2754)

This commit is contained in:
catloversg
2026-05-12 09:20:08 +07:00
committed by GitHub
parent 9ea1ec0f28
commit b2a9aaf350
2 changed files with 3 additions and 3 deletions
@@ -9,11 +9,11 @@ Get a list of programs offered on the dark web.
**Signature:**
```typescript
getDarkwebPrograms(): string[];
getDarkwebPrograms(): ProgramName[];
```
**Returns:**
string\[\]
[ProgramName](./bitburner.programname.md)<!-- -->\[\]
- a list of programs available for purchase on the dark web, or \[\] if Tor has not been purchased
+1 -1
View File
@@ -2835,7 +2835,7 @@ export interface Singularity {
* @returns - a list of programs available for purchase on the dark web, or [] if Tor has not
* been purchased
*/
getDarkwebPrograms(): string[];
getDarkwebPrograms(): ProgramName[];
/**
* Check the price of an exploit on the dark web