mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-11 18:23:54 +01:00
Cleanup @usage docs
This commit is contained in:
parent
74e2acfa6f
commit
1a6300b287
5
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
5
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@ -4613,8 +4613,9 @@ export interface NS extends Singularity {
|
|||||||
* @usage below:
|
* @usage below:
|
||||||
* ```ts
|
* ```ts
|
||||||
* let recentScripts = ns.getRecentScripts();
|
* let recentScripts = ns.getRecentScripts();
|
||||||
* let mostRcent = recentScripts.pop()
|
* let mostRecent = recentScripts.shift()
|
||||||
* ns.tprint(mostRecent.logs.join('\n'))
|
* if (mostRecent)
|
||||||
|
* ns.tprint(mostRecent.logs.join('\n'))
|
||||||
* ```
|
* ```
|
||||||
*
|
*
|
||||||
* @returns Array with information about previously killed scripts.
|
* @returns Array with information about previously killed scripts.
|
||||||
|
Loading…
Reference in New Issue
Block a user