UNPKG

@alfresco/adf-core

Version:
13 lines (12 loc) 569 B
import { IFeaturesService } from '../interfaces/features.interface'; import { Route } from '@angular/router'; import { Observable } from 'rxjs'; import * as i0 from "@angular/core"; export declare const isFeatureOff: (flag: string) => () => Observable<boolean>; export declare class IsFeatureOff { private featuresServiceToken; constructor(featuresServiceToken: IFeaturesService); canMatch(route: Route): Observable<boolean>; static ɵfac: i0.ɵɵFactoryDeclaration<IsFeatureOff, never>; static ɵprov: i0.ɵɵInjectableDeclaration<IsFeatureOff>; }