TypeScript/tests/cases/fourslash/renameDestructuringAssignment.ts

11 lines
250 B
TypeScript
Raw Normal View History

/// <reference path='fourslash.ts' />
////interface I {
2019-06-13 21:25:02 +02:00
//// [|[|{| "contextRangeIndex": 0 |}x|]: number;|]
////}
////var a: I;
////var x;
2019-06-13 21:25:02 +02:00
////([|{ [|{| "contextRangeIndex": 2 |}x|]: x } = a|]);
verify.rangesWithSameTextAreRenameLocations("x");