@anglr/notifications
Version:
Angular module for displaying notifications
14 lines • 880 B
TypeScript
import { EnvironmentProviders, InjectionToken, Provider, Type } from '@angular/core';
/**
* Provides global notifications service
* @param name - Name for global notifications scope
* @param customNotificationsToken - Optional type or token that should be provided for custom notifications
*/
export declare function provideGlobalNotifications(name?: string, customNotificationsToken?: Function | Type<any> | InjectionToken<unknown> | string): EnvironmentProviders;
/**
* Provides local notifications service
* @param name - Name for local notifications scope
* @param customNotificationsToken - Optional type or token that should be provided for custom notifications
*/
export declare function provideLocalNotifications(name?: string, customNotificationsToken?: Function | Type<any> | InjectionToken<unknown> | string): Provider[];
//# sourceMappingURL=providers.d.ts.map