class-inheritance.d.ts 918 B

1234567891011121314151617181920212223242526
  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/property-names';
  11. import { UpgradeData } from '../upgrade-data';
  12. /**
  13. * Migration that identifies class declarations that extend CDK or Material classes
  14. * which had a public property change.
  15. */
  16. export declare class ClassInheritanceMigration extends Migration<UpgradeData> {
  17. /**
  18. * Map of classes that have been updated. Each class name maps to the according property
  19. * change data.
  20. */
  21. propertyNames: Map<string, PropertyNameUpgradeData>;
  22. enabled: boolean;
  23. init(): void;
  24. visitNode(node: ts.Node): void;
  25. private _visitClassDeclaration;
  26. }