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