mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 17:43:48 +01:00
Merge pull request #2396 from tigercat2000/update_print_definitions
Update print and tprint signatures to match code
This commit is contained in:
commit
ce7c9a4de8
12
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
12
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@ -4233,22 +4233,22 @@ export interface NS extends Singularity {
|
|||||||
asleep(millis: number): Promise<void>;
|
asleep(millis: number): Promise<void>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Prints a value or a variable to the script’s logs.
|
* Prints one or move values or variables to the script’s logs.
|
||||||
* @remarks
|
* @remarks
|
||||||
* RAM cost: 0 GB
|
* 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
|
* @remarks
|
||||||
* RAM cost: 0 GB
|
* 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.
|
* Prints a raw value or a variable to the Terminal.
|
||||||
|
Loading…
Reference in New Issue
Block a user