mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 14:28:36 +02:00
Change alert to accept multiple args as other print functions (#2278)
This commit is contained in:
4
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
4
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@@ -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