mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 14:28:36 +02:00
API: make ns.atExit add the callback to an array instead of setting it (#1059)
This commit is contained in:
2
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
2
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@@ -7246,7 +7246,7 @@ export interface NS {
|
||||
*
|
||||
* Add callback to be executed when the script dies.
|
||||
*/
|
||||
atExit(f: () => void): void;
|
||||
atExit(f: () => void, id?: string): void;
|
||||
|
||||
/**
|
||||
* Move a file on the target server.
|
||||
|
||||
Reference in New Issue
Block a user