source: trip-planner-front/node_modules/@angular-devkit/core/src/virtual-fs/host/pattern.d.ts@ 6a80231

Last change on this file since 6a80231 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 638 bytes
Line 
1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8import { Path } from '../path';
9import { ResolverHost } from './resolver';
10export declare type ReplacementFunction = (path: Path) => Path;
11/**
12 */
13export declare class PatternMatchingHost<StatsT extends object = {}> extends ResolverHost<StatsT> {
14 protected _patterns: Map<RegExp, ReplacementFunction>;
15 addPattern(pattern: string | string[], replacementFn: ReplacementFunction): void;
16 protected _resolve(path: Path): Path;
17}
Note: See TracBrowser for help on using the repository browser.