@totvs-agro/core
Version:
Core Totvs Agro (Front-End) para utilização T-Faces
13 lines (12 loc) • 398 B
TypeScript
export declare class NotificationHandlerService<T> {
private _notificationMap;
getNotificationNumber(): number;
getNotifications(): Array<T>;
push(item: T): string;
remove(item: T): void;
pushAll(itens: Array<T>): Array<string>;
removeById(id: string): void;
hasItemById(id: string): boolean;
hasItem(item: T): boolean;
getById(id: string): T;
}