misc-template-rule.d.ts 716 B

123456789101112131415161718
  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 { RuleUpgradeData } from '../upgrade-data';
  11. /**
  12. * Rule that walks through every template and reports if there are
  13. * instances of outdated Angular CDK API that can't be migrated automatically.
  14. */
  15. export declare class MiscTemplateRule extends MigrationRule<RuleUpgradeData> {
  16. ruleEnabled: boolean;
  17. visitTemplate(template: ResolvedResource): void;
  18. }