source: trip-planner-front/node_modules/@angular/compiler-cli/linker/src/file_linker/linker_options.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: 1.5 KB
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 */
8/// <amd-module name="@angular/compiler-cli/linker/src/file_linker/linker_options" />
9/**
10 * Options to configure the linking behavior.
11 */
12export interface LinkerOptions {
13 /**
14 * Whether to use source-mapping to compute the original source for external templates.
15 * The default is `true`.
16 */
17 sourceMapping: boolean;
18 /**
19 * This option tells the linker to generate information used by a downstream JIT compiler.
20 *
21 * Specifically, in JIT mode, NgModule definitions must describe the `declarations`, `imports`,
22 * `exports`, etc, which are otherwise not needed.
23 */
24 linkerJitMode: boolean;
25 /**
26 * How to handle a situation where a partial declaration matches none of the supported
27 * partial-linker versions.
28 *
29 * - `error` - the version mismatch is a fatal error.
30 * - `warn` - a warning is sent to the logger but the most recent partial-linker
31 * will attempt to process the declaration anyway.
32 * - `ignore` - the most recent partial-linker will, silently, attempt to process
33 * the declaration.
34 *
35 * The default is `error`.
36 */
37 unknownDeclarationVersionHandling: 'ignore' | 'warn' | 'error';
38}
39/**
40 * The default linker options to use if properties are not provided.
41 */
42export declare const DEFAULT_LINKER_OPTIONS: LinkerOptions;
Note: See TracBrowser for help on using the repository browser.