property-names.d.ts 826 B

12345678910111213141516171819202122
  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 { PropertyNameUpgradeData } from '../data';
  11. import { UpgradeData } from '../upgrade-data';
  12. /**
  13. * Migration that walks through every property access expression and updates
  14. * accessed properties that have been updated to a new name.
  15. */
  16. export declare class PropertyNamesMigration extends Migration<UpgradeData> {
  17. /** Change data that upgrades to the specified target version. */
  18. data: PropertyNameUpgradeData[];
  19. enabled: boolean;
  20. visitNode(node: ts.Node): void;
  21. private _visitPropertyAccessExpression;
  22. }