fix tprintf catching errors

This commit is contained in:
Olivier Gagnon
2021-11-19 22:58:41 -05:00
parent 983c102123
commit c88dade19a
4 changed files with 8 additions and 4 deletions

View File

@@ -3664,9 +3664,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 scripts logs.