symbol-removal.d.ts 710 B

123456789101112131415161718
  1. /**
  2. * @license
  3. * Copyright Google LLC All Rights Reserved.
  4. *
  5. * Use of this source code is governed by an MIT-style license that can be
  6. * found in the LICENSE file at https://angular.dev/license
  7. */
  8. import * as ts from 'typescript';
  9. import { Migration } from '../../update-tool/migration';
  10. import { SymbolRemovalUpgradeData } from '../data';
  11. import { UpgradeData } from '../upgrade-data';
  12. /** Migration that flags imports for symbols that have been removed. */
  13. export declare class SymbolRemovalMigration extends Migration<UpgradeData> {
  14. /** Change data that upgrades to the specified target version. */
  15. data: SymbolRemovalUpgradeData[];
  16. enabled: boolean;
  17. visitNode(node: ts.Node): void;
  18. }