Adds SnackbarVariant enum

This commit is contained in:
Heinous Tugboat
2022-04-08 23:42:07 -04:00
parent 758b0e1127
commit 5b96cedd0c
11 changed files with 46 additions and 31 deletions

View File

@@ -6183,7 +6183,7 @@ export interface NS extends Singularity {
* @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
*/
toast(msg: any, variant?: string, duration?: number | null): void;
toast(msg: any, variant?: "success" | "info" | "warning" | "error", duration?: number | null): void;
/**
* Download a file from the internet.