mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-18 12:15:44 +01:00
Use codeblocks for null
This commit is contained in:
parent
a971921417
commit
357258261a
2
dist/bitburner.d.ts
vendored
2
dist/bitburner.d.ts
vendored
@ -3982,7 +3982,7 @@ export declare interface NS extends Singularity {
|
|||||||
* Queue a toast (bottom-right notification).
|
* Queue a toast (bottom-right notification).
|
||||||
* @param msg - Message in the toast.
|
* @param msg - Message in the toast.
|
||||||
* @param variant - Type of toast, must be one of success, info, warning, error. Defaults to success.
|
* @param variant - Type of toast, must be one of success, info, warning, error. Defaults to success.
|
||||||
* @param duration - Duration of toast in ms. Can also be null to create a persistent toast. Defaults to 2000
|
* @param duration - Duration of toast in ms. Can also be `null` to create a persistent toast. Defaults to 2000
|
||||||
*/
|
*/
|
||||||
toast(msg: any, variant?: string, duration?: number | null): void;
|
toast(msg: any, variant?: string, duration?: number | null): void;
|
||||||
|
|
||||||
|
2
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
2
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@ -5670,7 +5670,7 @@ export interface NS extends Singularity {
|
|||||||
* Queue a toast (bottom-right notification).
|
* Queue a toast (bottom-right notification).
|
||||||
* @param msg - Message in the toast.
|
* @param msg - Message in the toast.
|
||||||
* @param variant - Type of toast, must be one of success, info, warning, error. Defaults to success.
|
* @param variant - Type of toast, must be one of success, info, warning, error. Defaults to success.
|
||||||
* @param duration - Duration of toast in ms. Can also be null to create a persistent toast. Defaults to 2000
|
* @param duration - Duration of toast in ms. Can also be `null` to create a persistent toast. Defaults to 2000
|
||||||
*/
|
*/
|
||||||
toast(msg: any, variant?: string, duration?: number | null): void;
|
toast(msg: any, variant?: string, duration?: number | null): void;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user