mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 14:28:36 +02:00
fix a few things about getRecentScritps
This commit is contained in:
14
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
14
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@@ -136,19 +136,9 @@ export interface RunningScript {
|
||||
/**
|
||||
* @public
|
||||
*/
|
||||
interface RecentScript {
|
||||
/** Arguments the script was called with */
|
||||
args: string[];
|
||||
/** Filename of the script */
|
||||
filename: string;
|
||||
/** Process ID. Must be an integer */
|
||||
pid: number;
|
||||
export interface RecentScript extends RunningScript {
|
||||
/** Timestamp of when the script was killed */
|
||||
timestamp: Date;
|
||||
/** Numeric epoch of timestamp */
|
||||
timestampEpoch: number;
|
||||
/** An inactive copy of the last `RunningScript` associated to the script */
|
||||
runningScript: RunningScript;
|
||||
timeOfDeath: Date;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user