mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 15:43:49 +01:00
Merge pull request #2811 from reasonablytall/dev
Indicate that getRunningScript can return null
This commit is contained in:
commit
a6fb6df04f
2
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
2
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@ -5396,7 +5396,7 @@ export interface NS extends Singularity {
|
|||||||
* @param filename - Optional. Filename or PID of the script.
|
* @param filename - Optional. Filename or PID of the script.
|
||||||
* @param hostname - Optional. Name of host server the script is running on.
|
* @param hostname - Optional. Name of host server the script is running on.
|
||||||
* @param args - Arguments to identify the script
|
* @param args - Arguments to identify the script
|
||||||
* @returns info about a running script
|
* @returns The info about the running script if found, and null otherwise.
|
||||||
*/
|
*/
|
||||||
getRunningScript(filename?: FilenameOrPID, hostname?: string, ...args: (string | number)[]): RunningScript;
|
getRunningScript(filename?: FilenameOrPID, hostname?: string, ...args: (string | number)[]): RunningScript;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user