output-names-rule.d.ts 897 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.io/license
  7. */
  8. import { ResolvedResource } from '../../update-tool/component-resource-collector';
  9. import { MigrationRule } from '../../update-tool/migration-rule';
  10. import { OutputNameUpgradeData } from '../data';
  11. import { RuleUpgradeData } from '../upgrade-data';
  12. /**
  13. * Rule 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 OutputNamesRule extends MigrationRule<RuleUpgradeData> {
  17. /** Change data that upgrades to the specified target version. */
  18. data: OutputNameUpgradeData[];
  19. ruleEnabled: boolean;
  20. visitTemplate(template: ResolvedResource): void;
  21. private _replaceOutputName;
  22. }