source: trip-planner-front/node_modules/@angular/compiler-cli/ngcc/src/packages/entry_point_bundle.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: 2.4 KB
Line 
1/// <amd-module name="@angular/compiler-cli/ngcc/src/packages/entry_point_bundle" />
2/**
3 * @license
4 * Copyright Google LLC All Rights Reserved.
5 *
6 * Use of this source code is governed by an MIT-style license that can be
7 * found in the LICENSE file at https://angular.io/license
8 */
9import * as ts from 'typescript';
10import { AbsoluteFsPath, FileSystem } from '../../../src/ngtsc/file_system';
11import { DtsProcessing } from '../execution/tasks/api';
12import { PathMappings } from '../path_mappings';
13import { BundleProgram } from './bundle_program';
14import { EntryPoint, EntryPointFormat } from './entry_point';
15import { SharedFileCache } from './source_file_cache';
16/**
17 * A bundle of files and paths (and TS programs) that correspond to a particular
18 * format of a package entry-point.
19 */
20export interface EntryPointBundle {
21 entryPoint: EntryPoint;
22 format: EntryPointFormat;
23 isCore: boolean;
24 isFlatCore: boolean;
25 rootDirs: AbsoluteFsPath[];
26 src: BundleProgram;
27 dts: BundleProgram | null;
28 dtsProcessing: DtsProcessing;
29 enableI18nLegacyMessageIdFormat: boolean;
30}
31/**
32 * Get an object that describes a formatted bundle for an entry-point.
33 * @param fs The current file-system being used.
34 * @param entryPoint The entry-point that contains the bundle.
35 * @param sharedFileCache The cache to use for source files that are shared across all entry-points.
36 * @param moduleResolutionCache The module resolution cache to use.
37 * @param formatPath The path to the source files for this bundle.
38 * @param isCore This entry point is the Angular core package.
39 * @param format The underlying format of the bundle.
40 * @param dtsProcessing Whether to transform the typings along with this bundle.
41 * @param pathMappings An optional set of mappings to use when compiling files.
42 * @param mirrorDtsFromSrc If true then the `dts` program will contain additional files that
43 * were guessed by mapping the `src` files to `dts` files.
44 * @param enableI18nLegacyMessageIdFormat Whether to render legacy message ids for i18n messages in
45 * component templates.
46 */
47export declare function makeEntryPointBundle(fs: FileSystem, entryPoint: EntryPoint, sharedFileCache: SharedFileCache, moduleResolutionCache: ts.ModuleResolutionCache, formatPath: string, isCore: boolean, format: EntryPointFormat, dtsProcessing: DtsProcessing, pathMappings?: PathMappings, mirrorDtsFromSrc?: boolean, enableI18nLegacyMessageIdFormat?: boolean): EntryPointBundle;
Note: See TracBrowser for help on using the repository browser.