mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-23 06:32:26 +01:00
Merge pull request #2289 from nickofolas/patch-1
Update ns.toast() signature
This commit is contained in:
commit
b123d191c0
3
dist/bitburner.d.ts
vendored
3
dist/bitburner.d.ts
vendored
@ -3678,8 +3678,9 @@ export declare interface NS extends Singularity {
|
||||
* Queue a toast (bottom-right notification).
|
||||
* @param msg - Message in the toast.
|
||||
* @param variant - Type of toast, must be one of success, info, warning, error. Defaults to success.
|
||||
* @param duration - Duration of toast in ms, defaults to 2000
|
||||
*/
|
||||
toast(msg: any, variant?: string): void;
|
||||
toast(msg: any, variant?: string, duration?: number): void;
|
||||
|
||||
/**
|
||||
* Download a file from the internet.
|
||||
|
Loading…
Reference in New Issue
Block a user