Delete toastr types.

@Wolfsblvt add it back if needed.
This commit is contained in:
Cohee 2024-05-10 23:05:14 +03:00
parent eeaa52bf5d
commit 1430eb26ea

52
public/global.d.ts vendored
View File

@ -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
/**