Merge pull request #2811 from reasonablytall/dev

Indicate that getRunningScript can return null
This commit is contained in:
hydroflame 2022-01-26 00:31:26 -05:00 committed by GitHub
commit a6fb6df04f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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;