UNPKG

@angular/cdk

Version:

Angular Material Component Development Kit

24 lines (23 loc) 934 B
/** * @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.io/license */ /// <amd-module name="@angular/cdk/schematics/ng-update/upgrade-rules/property-names-rule" /> import * as ts from 'typescript'; import { MigrationRule } from '../../update-tool/migration-rule'; import { PropertyNameUpgradeData } from '../data'; import { RuleUpgradeData } from '../upgrade-data'; /** * Rule that walks through every property access expression and updates * accessed properties that have been updated to a new name. */ export declare class PropertyNamesRule extends MigrationRule<RuleUpgradeData> { /** Change data that upgrades to the specified target version. */ data: PropertyNameUpgradeData[]; ruleEnabled: boolean; visitNode(node: ts.Node): void; private _visitPropertyAccessExpression; }