UNPKG

@spartacus/core

Version:

Spartacus - the core framework

12 lines (11 loc) 492 B
import * as i0 from "@angular/core"; export declare class GlobService { /** * For given list of glob-like patterns, returns a validator function. * * The validator returns true for given URL only when ANY of the positive patterns is matched and NONE of the negative ones. */ getValidator(patterns: string[]): (url: string) => boolean; static ɵfac: i0.ɵɵFactoryDeclaration<GlobService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<GlobService>; }