misc-template.d.ts 702 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.dev/license
  7. */
  8. import { ResolvedResource } from '../../update-tool/component-resource-collector';
  9. import { Migration } from '../../update-tool/migration';
  10. import { UpgradeData } from '../upgrade-data';
  11. /**
  12. * Migration 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 MiscTemplateMigration extends Migration<UpgradeData> {
  16. enabled: boolean;
  17. visitTemplate(template: ResolvedResource): void;
  18. }