DOCUMENTATION: Fix wrong examples in NetscriptDefinitions.d.ts (#1295)

This commit is contained in:
catloversg
2024-05-23 15:42:47 +07:00
committed by GitHub
parent 81a707123e
commit 30c04f8152
11 changed files with 26 additions and 26 deletions

View File

@@ -35,7 +35,7 @@ This function allows you to automatically purchase programs. You MUST have a TOR
```js
const programName = "BruteSSH.exe"
const success = ns.purchaseProgram(programName);
const success = ns.singularity.purchaseProgram(programName);
if (!success) ns.tprint("ERROR: Failed to purchase ${programName}")
```