mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-21 16:52:55 +02:00
Change alert to accept multiple args as other print functions (#2278)
This commit is contained in:
+2
-2
@@ -8109,9 +8109,9 @@ export interface NS {
|
||||
|
||||
/**
|
||||
* Open up a message box.
|
||||
* @param msg - Message to alert.
|
||||
* @param args - Value(s) to be alerted.
|
||||
*/
|
||||
alert(msg: string): void;
|
||||
alert(...args: any[]): void;
|
||||
|
||||
/**
|
||||
* Queue a toast (bottom-right notification).
|
||||
|
||||
Reference in New Issue
Block a user