UNPKG

685 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 */
8/// <amd-module name="@angular/compiler-cli/src/metadata/bundle_index_host" />
9import ts from 'typescript';
10import { CompilerOptions } from '../transformers/api';
11import { MetadataCache } from '../transformers/metadata_cache';
12export declare function createBundleIndexHost<H extends ts.CompilerHost>(ngOptions: CompilerOptions, rootFiles: ReadonlyArray<string>, host: H, getMetadataCache: () => MetadataCache): {
13 host: H;
14 indexName?: string;
15 errors?: ts.Diagnostic[];
16};