Merge pull request #2396 from tigercat2000/update_print_definitions

Update print and tprint signatures to match code
This commit is contained in:
hydroflame 2022-01-06 11:23:29 -05:00 committed by GitHub
commit ce7c9a4de8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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 scripts logs. * Prints one or move values or variables to the scripts 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.