mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-05-12 18:40:07 +02:00
API: Change getDarkwebPrograms return type to ProgramName[] (#2754)
This commit is contained in:
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user