index.d.ts 699 B

12345678910111213
  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 { logging } from '@angular-devkit/core';
  9. import { Tree } from '@angular-devkit/schematics';
  10. import { MigrationRule } from './migration-rule';
  11. import { TargetVersion } from './target-version';
  12. export declare type Constructor<T> = new (...args: any[]) => T;
  13. export declare function runMigrationRules<T>(tree: Tree, logger: logging.LoggerApi, tsconfigPath: string, targetVersion: TargetVersion, ruleTypes: Constructor<MigrationRule<T>>[], upgradeData: T, analyzedFiles: Set<string>): boolean;