Use codeblocks for null

This commit is contained in:
nickofolas 2022-01-08 14:59:28 -06:00
parent a971921417
commit 357258261a
2 changed files with 2 additions and 2 deletions

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;

@ -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;