1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x | declare const toastr: any; export class ToastrService { success(message: string, title?: string) { toastr.success(message, title); } info(message: string, title?: string) { toastr.info(message, title); } warning(message: string, title?: string) { toastr.warning(message, title); } error(message: string, title?: string) { toastr.error(message, title); } } |