This commit refactors the way the compiler transforms .d.ts files during ngtsc builds. Previously the `IvyCompilation` kept track of a `DtsFileTransformer` for each input file. Now, any number of `DtsTransform` operations that need to be applied to a .d.ts file are collected in the `DtsTransformRegistry`. These are then ran using a single `DtsTransformer` so that multiple transforms can be applied efficiently. PR Close #34235
13 lines
447 B
TypeScript
13 lines
447 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 {declarationTransformFactory, DtsTransformRegistry, IvyDeclarationDtsTransform} from './src/declaration';
|
|
export {ivyTransformFactory} from './src/transform';
|