method-call-arguments.d.ts 838 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 * as ts from 'typescript';
  9. import { Migration } from '../../update-tool/migration';
  10. import { MethodCallUpgradeData } from '../data';
  11. import { UpgradeData } from '../upgrade-data';
  12. /**
  13. * Migration that visits every TypeScript method call expression and checks if the
  14. * argument count is invalid and needs to be *manually* updated.
  15. */
  16. export declare class MethodCallArgumentsMigration extends Migration<UpgradeData> {
  17. /** Change data that upgrades to the specified target version. */
  18. data: MethodCallUpgradeData[];
  19. enabled: boolean;
  20. visitNode(node: ts.Node): void;
  21. private _checkPropertyAccessMethodCall;
  22. }