21 lines
726 B
TypeScript
Executable File
21 lines
726 B
TypeScript
Executable File
/**
|
|
* @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 { VersionChanges } from '../../update-tool/version-changes';
|
|
export interface PropertyNameUpgradeData {
|
|
/** The property name to replace. */
|
|
replace: string;
|
|
/** The new name for the property. */
|
|
replaceWith: string;
|
|
/** Controls which classes in which this replacement is made. */
|
|
limitedTo: {
|
|
/** Replace the property only when its type is one of the given Classes. */
|
|
classes: string[];
|
|
};
|
|
}
|
|
export declare const propertyNames: VersionChanges<PropertyNameUpgradeData>;
|