From b2a9aaf350d71a2af95d21abb54f68a019ba5d55 Mon Sep 17 00:00:00 2001 From: catloversg <152669316+catloversg@users.noreply.github.com> Date: Tue, 12 May 2026 09:20:08 +0700 Subject: [PATCH] API: Change getDarkwebPrograms return type to ProgramName[] (#2754) --- markdown/bitburner.singularity.getdarkwebprograms.md | 4 ++-- src/ScriptEditor/NetscriptDefinitions.d.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/markdown/bitburner.singularity.getdarkwebprograms.md b/markdown/bitburner.singularity.getdarkwebprograms.md index 9372aec13..ff5d94c11 100644 --- a/markdown/bitburner.singularity.getdarkwebprograms.md +++ b/markdown/bitburner.singularity.getdarkwebprograms.md @@ -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 diff --git a/src/ScriptEditor/NetscriptDefinitions.d.ts b/src/ScriptEditor/NetscriptDefinitions.d.ts index ba4640532..0af24bdc1 100644 --- a/src/ScriptEditor/NetscriptDefinitions.d.ts +++ b/src/ScriptEditor/NetscriptDefinitions.d.ts @@ -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