From 3ac26594db452ca34e16ef33016af27e0d917565 Mon Sep 17 00:00:00 2001 From: nickofolas <60761231+nickofolas@users.noreply.github.com> Date: Sun, 2 Jan 2022 13:11:03 -0600 Subject: [PATCH] Update ns.toast() signature --- dist/bitburner.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dist/bitburner.d.ts b/dist/bitburner.d.ts index 44ab57d24..e5a4d628b 100644 --- a/dist/bitburner.d.ts +++ b/dist/bitburner.d.ts @@ -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.