output-names.d.ts 883 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 { ResolvedResource } from '../../update-tool/component-resource-collector';
  9. import { Migration } from '../../update-tool/migration';
  10. import { OutputNameUpgradeData } from '../data';
  11. import { UpgradeData } from '../upgrade-data';
  12. /**
  13. * Migration that walks through every inline or external HTML template and switches
  14. * changed output binding names to the proper new output name.
  15. */
  16. export declare class OutputNamesMigration extends Migration<UpgradeData> {
  17. /** Change data that upgrades to the specified target version. */
  18. data: OutputNameUpgradeData[];
  19. enabled: boolean;
  20. visitTemplate(template: ResolvedResource): void;
  21. private _replaceOutputName;
  22. }