Revert "refactor(compiler-cli): expose ngtools api separately (#18952)"
This reverts commit 1953e2af7a
.
This commit is contained in:
@ -250,6 +250,13 @@ export interface Program {
|
||||
*/
|
||||
loadNgStructureAsync(): Promise<void>;
|
||||
|
||||
/**
|
||||
* Retrieve the lazy route references in the program.
|
||||
*
|
||||
* Angular structural information is required to produce these routes.
|
||||
*/
|
||||
getLazyRoutes(cancellationToken?: ts.CancellationToken): {[route: string]: string};
|
||||
|
||||
/**
|
||||
* Emit the files requested by emitFlags implied by the program.
|
||||
*
|
||||
|
@ -134,6 +134,8 @@ class AngularCompilerProgram implements Program {
|
||||
});
|
||||
}
|
||||
|
||||
getLazyRoutes(cancellationToken?: ts.CancellationToken): {[route: string]: string} { return {}; }
|
||||
|
||||
emit({emitFlags = EmitFlags.Default, cancellationToken, customTransformers,
|
||||
emitCallback = defaultEmitCallback}: {
|
||||
emitFlags?: EmitFlags,
|
||||
|
Reference in New Issue
Block a user