@angular/compiler
Version:
Angular - the compiler library
18 lines (17 loc) • 626 B
TypeScript
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import { Statement } from '../output/output_ast';
export declare class GeneratedFile {
srcFileUrl: string;
genFileUrl: string;
source: string | null;
stmts: Statement[] | null;
constructor(srcFileUrl: string, genFileUrl: string, sourceOrStmts: string | Statement[]);
isEquivalent(other: GeneratedFile): boolean;
}
export declare function toTypeScript(file: GeneratedFile, preamble?: string): string;