From 1430eb26ea901ccdc8d6915619c5fac34041c811 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Fri, 10 May 2024 23:05:14 +0300 Subject: [PATCH] Delete toastr types. @Wolfsblvt add it back if needed. --- public/global.d.ts | 52 ---------------------------------------------- 1 file changed, 52 deletions(-) diff --git a/public/global.d.ts b/public/global.d.ts index 0d9f93fc2..42b3f007e 100644 --- a/public/global.d.ts +++ b/public/global.d.ts @@ -112,58 +112,6 @@ interface JQuery { //#endregion } -/** - * Toastr is a global object for displaying toast notifications - */ -declare var toastr: { - /** - * Show a success toast notification. - * - * @param message - The main message to display in the notification. - * @param title - An optional title for the notification. - * @param optionsOverride - Optional object to override default options. - */ - success(message: string, title?: string, optionsOverride?: object): void; - - /** - * Show an info toast notification. - * - * @param message - The main message to display in the notification. - * @param title - An optional title for the notification. - * @param optionsOverride - Optional object to override default options. - */ - info(message: string, title?: string, optionsOverride?: object): void; - - /** - * Show a warning toast notification. - * - * @param message - The main message to display in the notification. - * @param title - An optional title for the notification. - * @param optionsOverride - Optional object to override default options. - */ - warning(message: string, title?: string, optionsOverride?: object): void; - - /** - * Show an error toast notification. - * - * @param message - The main message to display in the notification. - * @param title - An optional title for the notification. - * @param optionsOverride - Optional object to override default options. - */ - error(message: string, title?: string, optionsOverride?: object): void; - - /** - * Clear one or all toast notifications. - * - * @param toast - Optional specific toast to clear. - * @param clearOptions - Optional object to override default clear options. - */ - clear(toast?: any, clearOptions?: object): void; - - // Add any other `toastr` methods or properties here. -}; - - //#region Fuse /**