
The current DtsFileTransformer works by intercepting file writes and editing the source string directly. This PR refactors it as a afterDeclaration transform in order to fit better in the TypeScript API. This is part of a greater effort of converting ngtsc to be usable as a TS transform plugin. PR Close #28342
13 lines
417 B
TypeScript
13 lines
417 B
TypeScript
/**
|
|
* @license
|
|
* Copyright Google Inc. 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
|
|
*/
|
|
|
|
export * from './src/api';
|
|
export {IvyCompilation} from './src/compilation';
|
|
export {DtsFileTransformer, declarationTransformFactory} from './src/declaration';
|
|
export {ivyTransformFactory} from './src/transform';
|