UNPKG

@anglr/notifications

Version:
14 lines 880 B
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