Last change
on this file since 59329aa 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 | /**
|
---|
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/transformers/node_emitter_transform" />
|
---|
9 | import { GeneratedFile } from '@angular/compiler';
|
---|
10 | import * as ts from 'typescript';
|
---|
11 | /**
|
---|
12 | * Returns a transformer that does two things for generated files (ngfactory etc):
|
---|
13 | * - adds a fileoverview JSDoc comment containing Closure Compiler specific "suppress"ions in JSDoc.
|
---|
14 | * The new comment will contain any fileoverview comment text from the original source file this
|
---|
15 | * file was generated from.
|
---|
16 | * - updates generated files that are not in the given map of generatedFiles to have an empty
|
---|
17 | * list of statements as their body.
|
---|
18 | */
|
---|
19 | export declare function getAngularEmitterTransformFactory(generatedFiles: Map<string, GeneratedFile>, program: ts.Program, annotateForClosureCompiler: boolean): () => (sourceFile: ts.SourceFile) => ts.SourceFile;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.