source: trip-planner-front/node_modules/@angular/compiler/src/pipe_resolver.d.ts

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

initial commit

  • Property mode set to 100644
File size: 733 bytes
RevLine 
[6a3a178]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 { CompileReflector } from './compile_reflector';
9import { Pipe, Type } from './core';
10/**
11 * Resolve a `Type` for {@link Pipe}.
12 *
13 * This interface can be overridden by the application developer to create custom behavior.
14 *
15 * See {@link Compiler}
16 */
17export declare class PipeResolver {
18 private _reflector;
19 constructor(_reflector: CompileReflector);
20 isPipe(type: Type): boolean;
21 /**
22 * Return {@link Pipe} for a given `Type`.
23 */
24 resolve(type: Type, throwIfNotFound?: boolean): Pipe | null;
25}
Note: See TracBrowser for help on using the repository browser.