unknown-ify the rest of the basic API.

This commit is contained in:
Olivier Gagnon
2022-03-29 22:14:56 -04:00
parent aa0425a23d
commit 12d5f55aec
2 changed files with 76 additions and 42 deletions

View File

@@ -5649,7 +5649,7 @@ export interface NS extends Singularity {
* @param args - Arguments to identify the 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 | null;
/**
* Get cost of purchasing a server.