Added doc comment to toast()

This commit is contained in:
Mizah 2024-11-17 14:34:47 +02:00
parent ee574ae154
commit 0bd7ed8191

View file

@ -253,6 +253,11 @@ export function pageWindow(path: string) {
}); });
} }
/**
* Displays a toast message to the user.
*
* @param {string} message - The message to display in the toast.
*/
export function toast(message: string) { export function toast(message: string) {
const { dispose } = popup(MkToast, { const { dispose } = popup(MkToast, {
message, message,