UNPKG

866 BTypeScriptView Raw
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 { ModuleWithProviders, StaticProvider } from '@angular/core';
9import { ModuleMap } from './module-map';
10/**
11 * Helper function for getting the providers object for the MODULE_MAP
12 *
13 * @param moduleMap Map to use as a value for MODULE_MAP
14 */
15export declare function provideModuleMap(moduleMap: ModuleMap): StaticProvider;
16/**
17 * Module for using a NgModuleFactoryLoader which does not lazy load
18 */
19export declare class ModuleMapLoaderModule {
20 /**
21 * Returns a ModuleMapLoaderModule along with a MODULE_MAP
22 *
23 * @param moduleMap Map to use as a value for MODULE_MAP
24 */
25 static withMap(moduleMap: ModuleMap): ModuleWithProviders;
26}