@karelics/angular-unleash-proxy-client
Version:
Angular wrapper for [unleash-proxy-client](https://github.com/Unleash/unleash-proxy-client-js).
5 lines (4 loc) • 360 B
TypeScript
import { CanActivateFn, UrlTree } from '@angular/router';
import { JoinOperator } from '../directives/join-operator';
export declare function featureEnabled(toggleName: string, redirectUrl?: string | UrlTree): CanActivateFn;
export declare function featureEnabled(toggleNames: string[], operator?: JoinOperator, redirectUrl?: string | UrlTree): CanActivateFn;