blob: a896c54e72eee73b1f9b07b6c4fb1f2ba01fd5bb [file] [log] [blame]
/**
* @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
*/
import { VersionChanges } from '../../update-tool/version-changes';
export interface PropertyNameUpgradeData {
/** The property name to replace. */
replace: string;
/** The new name for the property. */
replaceWith: string;
/** Whitelist where this replacement is made. If omitted it is made for all Classes. */
whitelist: {
/** Replace the property only when its type is one of the given Classes. */
classes: string[];
};
}
export declare const propertyNames: VersionChanges<PropertyNameUpgradeData>;