Skip to content

Commit

Permalink
Merge pull request #2811 from reasonablytall/dev
Browse files Browse the repository at this point in the history
Indicate that getRunningScript can return null
  • Loading branch information
hydroflame committed Jan 26, 2022
2 parents 0f2dd23 + 6342ccb commit a6fb6df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ScriptEditor/NetscriptDefinitions.d.ts
Expand Up @@ -5396,7 +5396,7 @@ export interface NS extends Singularity {
* @param filename - Optional. Filename or PID of the script.
* @param hostname - Optional. Name of host server the script is running on.
* @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;

Expand Down

0 comments on commit a6fb6df

Please sign in to comment.