Last change
on this file since 1ad8e64 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
957 bytes
|
Line | |
---|
1 | /// <amd-module name="@angular/compiler-cli/ngcc/src/rendering/utils" />
|
---|
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 | */
|
---|
9 | import * as ts from 'typescript';
|
---|
10 | import { AbsoluteFsPath } from '../../../src/ngtsc/file_system';
|
---|
11 | import { ImportRewriter } from '../../../src/ngtsc/imports';
|
---|
12 | /**
|
---|
13 | * Information about a file that has been rendered.
|
---|
14 | */
|
---|
15 | export interface FileToWrite {
|
---|
16 | /** Path to where the file should be written. */
|
---|
17 | path: AbsoluteFsPath;
|
---|
18 | /** The contents of the file to be be written. */
|
---|
19 | contents: string;
|
---|
20 | }
|
---|
21 | /**
|
---|
22 | * Create an appropriate ImportRewriter given the parameters.
|
---|
23 | */
|
---|
24 | export declare function getImportRewriter(r3SymbolsFile: ts.SourceFile | null, isCore: boolean, isFlat: boolean): ImportRewriter;
|
---|
25 | export declare function stripExtension<T extends string>(filePath: T): T;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.