property-names.d.ts 726 B

1234567891011121314151617181920
  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 { VersionChanges } from '../../update-tool/version-changes';
  9. export interface PropertyNameUpgradeData {
  10. /** The property name to replace. */
  11. replace: string;
  12. /** The new name for the property. */
  13. replaceWith: string;
  14. /** Controls which classes in which this replacement is made. */
  15. limitedTo: {
  16. /** Replace the property only when its type is one of the given Classes. */
  17. classes: string[];
  18. };
  19. }
  20. export declare const propertyNames: VersionChanges<PropertyNameUpgradeData>;