source: trip-planner-front/node_modules/@angular/compiler-cli/ngcc/src/rendering/source_maps.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.0 KB
Line 
1/// <amd-module name="@angular/compiler-cli/ngcc/src/rendering/source_maps" />
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 { SourceMapConverter } from 'convert-source-map';
10import MagicString from 'magic-string';
11import * as ts from 'typescript';
12import { ReadonlyFileSystem } from '../../../src/ngtsc/file_system';
13import { Logger } from '../../../src/ngtsc/logging';
14import { FileToWrite } from './utils';
15export interface SourceMapInfo {
16 source: string;
17 map: SourceMapConverter | null;
18 isInline: boolean;
19}
20/**
21 * Merge the input and output source-maps, replacing the source-map comment in the output file
22 * with an appropriate source-map comment pointing to the merged source-map.
23 */
24export declare function renderSourceAndMap(logger: Logger, fs: ReadonlyFileSystem, sourceFile: ts.SourceFile, generatedMagicString: MagicString): FileToWrite[];
Note: See TracBrowser for help on using the repository browser.