source: trip-planner-front/node_modules/@angular/compiler/testing/src/directive_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: 881 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, DirectiveResolver } from '@angular/compiler';
9/**
10 * An implementation of {@link DirectiveResolver} that allows overriding
11 * various properties of directives.
12 */
13export declare class MockDirectiveResolver extends DirectiveResolver {
14 private _directives;
15 constructor(reflector: CompileReflector);
16 resolve(type: core.Type): core.Directive;
17 resolve(type: core.Type, throwIfNotFound: true): core.Directive;
18 resolve(type: core.Type, throwIfNotFound: boolean): core.Directive | null;
19 /**
20 * Overrides the {@link core.Directive} for a directive.
21 */
22 setDirective(type: core.Type, metadata: core.Directive): void;
23}
Note: See TracBrowser for help on using the repository browser.