From 78fa85a24e1ca394992ca107e60627ba24b57d13 Mon Sep 17 00:00:00 2001 From: Cyn Date: Sat, 15 Jan 2022 16:28:58 -0500 Subject: [PATCH] Add function signature for scp(files, destination) --- src/ScriptEditor/NetscriptDefinitions.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ScriptEditor/NetscriptDefinitions.d.ts b/src/ScriptEditor/NetscriptDefinitions.d.ts index b5630b1fd..806653fb9 100644 --- a/src/ScriptEditor/NetscriptDefinitions.d.ts +++ b/src/ScriptEditor/NetscriptDefinitions.d.ts @@ -4819,6 +4819,7 @@ export interface NS extends Singularity { * @param destination - Host of the destination server, which is the server to which the file will be copied. * @returns True if the script/literature file is successfully copied over and false otherwise. If the files argument is an array then this function will return true if at least one of the files in the array is successfully copied. */ + scp(files: string | string[], destination: string): Promise; scp(files: string | string[], source: string, destination: string): Promise; /**