mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-18 07:18:38 +02:00
rebuild
This commit is contained in:
10
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
10
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@@ -3788,9 +3788,10 @@ export interface NS extends Singularity {
|
||||
* @remarks
|
||||
* RAM cost: 0 GB
|
||||
*
|
||||
* @param format - format of the message
|
||||
* @param msg - Value to be printed.
|
||||
*/
|
||||
tprintf(msg: any): void;
|
||||
tprintf(format: string, ...values: any[]): void;
|
||||
|
||||
/**
|
||||
* Clears the script’s logs.
|
||||
@@ -4193,12 +4194,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[],
|
||||
source: string,
|
||||
// tslint:disable-next-line:unified-signatures
|
||||
destination: string,
|
||||
): Promise<boolean>;
|
||||
scp(files: string | string[], source: string, destination: string): Promise<boolean>;
|
||||
|
||||
/**
|
||||
* List files on a server.
|
||||
|
||||
Reference in New Issue
Block a user