UNPKG

ng-config-cat

Version:

An Angular service for ConfigCat

10 lines (9 loc) 422 B
import { Observable } from 'rxjs'; import { ConfigCatUser, NgConfigCatConfiguration } from '../models'; export declare class NgConfigCatService { private readonly configCatClient; constructor(ngConfigCatConfiguration: NgConfigCatConfiguration); getValue<T = boolean>(key: string, defaultValue?: T, user?: ConfigCatUser): Observable<T>; getAllKeys(): Promise<string[]>; forceRefresh(): Promise<void>; }