@angular/cdk
Version:
Angular Material Component Development Kit
23 lines (22 loc) • 838 B
TypeScript
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import * as ts from 'typescript';
import { Migration } from '../../update-tool/migration';
import { MethodCallUpgradeData } from '../data';
import { UpgradeData } from '../upgrade-data';
/**
* Migration that visits every TypeScript method call expression and checks if the
* argument count is invalid and needs to be *manually* updated.
*/
export declare class MethodCallArgumentsMigration extends Migration<UpgradeData> {
/** Change data that upgrades to the specified target version. */
data: MethodCallUpgradeData[];
enabled: boolean;
visitNode(node: ts.Node): void;
private _checkPropertyAccessMethodCall;
}