UNPKG

ng-config-cat

Version:

An Angular service for ConfigCat

12 lines (11 loc) 629 B
import { TemplateRef, ViewContainerRef } from '@angular/core'; import { ConfigCatUser } from '../models'; import { NgConfigCatService } from '../services/ng-config-cat.service'; import { NgConfigCatFeatureBaseDirective } from './ng-config-cat-feature-base.directive'; export declare class NgConfigCatFeatureEnabledDirective<T = null> extends NgConfigCatFeatureBaseDirective<T> { featureName: string; defaultValue?: boolean; user?: ConfigCatUser; protected shouldFeatureBeEnabled: boolean; constructor(viewContainerRef: ViewContainerRef, templateRef: TemplateRef<T>, ngConfigCatService: NgConfigCatService); }