Files
tsgo/testdata/baselines/reference/submodule/fourslash/findRenameLocations/renameDestructuringNestedBindingElement.baseline.jsonc
2025-09-12 21:35:13 +00:00

59 lines
1.8 KiB
JSON

// === findRenameLocations ===
// === /renameDestructuringNestedBindingElement.ts ===
// interface MultiRobot {
// name: string;
// skills: {
// /*RENAME*/[|primaryRENAME|]: string;
// secondary: string;
// };
// }
// let multiRobots: MultiRobot[];
// for (let { skills: {[|primaryRENAME|]: primaryA, secondary: secondaryA } } of multiRobots) {
// console.log(primaryA);
// }
// for (let { skills: {[|primaryRENAME|]: primary/*END SUFFIX*/, secondary } } of multiRobots) {
// console.log(primary);
// }
// === findRenameLocations ===
// === /renameDestructuringNestedBindingElement.ts ===
// interface MultiRobot {
// name: string;
// skills: {
// [|primaryRENAME|]: string;
// secondary: string;
// };
// }
// let multiRobots: MultiRobot[];
// for (let { skills: {/*RENAME*/[|primaryRENAME|]: primaryA, secondary: secondaryA } } of multiRobots) {
// console.log(primaryA);
// }
// for (let { skills: {[|primaryRENAME|]: primary/*END SUFFIX*/, secondary } } of multiRobots) {
// console.log(primary);
// }
// === findRenameLocations ===
// === /renameDestructuringNestedBindingElement.ts ===
// --- (line: 8) skipped ---
// for (let { skills: {primary: primaryA, secondary: secondaryA } } of multiRobots) {
// console.log(primaryA);
// }
// for (let { skills: {/*START PREFIX*/primary: /*RENAME*/[|primaryRENAME|], secondary } } of multiRobots) {
// console.log([|primaryRENAME|]);
// }
// === findRenameLocations ===
// === /renameDestructuringNestedBindingElement.ts ===
// --- (line: 8) skipped ---
// for (let { skills: {primary: primaryA, secondary: secondaryA } } of multiRobots) {
// console.log(primaryA);
// }
// for (let { skills: {/*START PREFIX*/primary: [|primaryRENAME|], secondary } } of multiRobots) {
// console.log(/*RENAME*/[|primaryRENAME|]);
// }