source: trip-planner-front/node_modules/@angular/compiler/testing/src/pipe_resolver_mock.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: 791 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 { CompileReflector, core, PipeResolver } from '@angular/compiler';
9export declare class MockPipeResolver extends PipeResolver {
10 private _pipes;
11 constructor(refector: CompileReflector);
12 /**
13 * Overrides the {@link Pipe} for a pipe.
14 */
15 setPipe(type: core.Type, metadata: core.Pipe): void;
16 /**
17 * Returns the {@link Pipe} for a pipe:
18 * - Set the {@link Pipe} to the overridden view when it exists or fallback to the
19 * default
20 * `PipeResolver`, see `setPipe`.
21 */
22 resolve(type: core.Type, throwIfNotFound?: boolean): core.Pipe;
23}
Note: See TracBrowser for help on using the repository browser.