angular/packages/compiler-cli/private/migrations.ts
Kristiyan Kostadinov bb977e0ba9 refactor(migrations): use common import manager for schematics (#57096)
Updates the schematics to reuse the common `ImportManager`, instead of having to maintain a separate one.

PR Close #57096
2024-07-23 12:17:41 -07:00

30 lines
856 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
*/
/**
* @fileoverview The API from compiler-cli that the `@angular/core`
* package requires for migration schematics.
*/
export {forwardRefResolver} from '../src/ngtsc/annotations';
export {Reference} from '../src/ngtsc/imports';
export {
DynamicValue,
PartialEvaluator,
ResolvedValue,
ResolvedValueMap,
StaticInterpreter,
} from '../src/ngtsc/partial_evaluator';
export {reflectObjectLiteral, TypeScriptReflectionHost} from '../src/ngtsc/reflection';
export {
PotentialImport,
PotentialImportKind,
PotentialImportMode,
TemplateTypeChecker,
} from '../src/ngtsc/typecheck/api';
export {ImportManager} from '../src/ngtsc/translator';