mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-05-24 00:16:34 +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:**
|
**Signature:**
|
||||||
|
|
||||||
```typescript
|
```typescript
|
||||||
getDarkwebPrograms(): string[];
|
getDarkwebPrograms(): ProgramName[];
|
||||||
```
|
```
|
||||||
**Returns:**
|
**Returns:**
|
||||||
|
|
||||||
string\[\]
|
[ProgramName](./bitburner.programname.md)<!-- -->\[\]
|
||||||
|
|
||||||
- a list of programs available for purchase on the dark web, or \[\] if Tor has not been purchased
|
- 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
|
* @returns - a list of programs available for purchase on the dark web, or [] if Tor has not
|
||||||
* been purchased
|
* been purchased
|
||||||
*/
|
*/
|
||||||
getDarkwebPrograms(): string[];
|
getDarkwebPrograms(): ProgramName[];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check the price of an exploit on the dark web
|
* Check the price of an exploit on the dark web
|
||||||
|
|||||||
Reference in New Issue
Block a user