UNPKG

@dotglitch/ngx-common

Version:

Angular components and utilities that are commonly used.

11 lines (10 loc) 375 B
import { BehaviorSubject } from 'rxjs'; import * as i0 from "@angular/core"; type AppTheme = "light" | "dark"; export declare class ThemeService extends BehaviorSubject<AppTheme> { constructor(); setTheme(t: AppTheme): void; static ɵfac: i0.ɵɵFactoryDeclaration<ThemeService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<ThemeService>; } export {};