Update print and tprint signatures to match code

In https://github.com/danielyxie/bitburner/pull/1380, print() and
tprint() were both changed to allow for variadic arguments, but this
wasn't documented in NetscriptDefinitions.d.ts.
This commit is contained in:
tigercat2000 2022-01-06 04:04:00 -08:00
parent 7107dd682c
commit 6e96428643
No known key found for this signature in database
GPG Key ID: D16DD5BFA2DEF6C7

@ -4233,22 +4233,22 @@ export interface NS extends Singularity {
asleep(millis: number): Promise<void>;
/**
* Prints a value or a variable to the scripts logs.
* Prints one or move values or variables to the scripts logs.
* @remarks
* RAM cost: 0 GB
*
* @param msg - Value to be printed.
* @param args - Value(s) to be printed.
*/
print(msg: any): void;
print(...args: any[]): void;
/**
* Prints a value or a variable to the Terminal.
* Prints one or more values or variables to the Terminal.
* @remarks
* RAM cost: 0 GB
*
* @param msg - Value to be printed.
* @param args - Value(s) to be printed.
*/
tprint(msg: any): void;
tprint(...args: any[]): void;
/**
* Prints a raw value or a variable to the Terminal.