mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
59 lines
1.8 KiB
JSON
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|]);
|
|
// } |