Update ns.toast() signature

This commit is contained in:
nickofolas 2022-01-02 13:11:03 -06:00 committed by GitHub
parent d0214c1fed
commit 3ac26594db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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.