2016-11-15 01:23:40 +01:00
|
|
|
/// <reference path='fourslash.ts'/>
|
|
|
|
|
|
|
|
////interface A1 { a: number };
|
|
|
|
////interface A2 { a?: number };
|
2019-06-13 21:25:02 +02:00
|
|
|
////[|let [|{| "contextRangeIndex": 0 |}a1|]: A1;|]
|
|
|
|
////[|let [|{| "contextRangeIndex": 2 |}a2|]: A2;|]
|
2016-11-15 01:23:40 +01:00
|
|
|
////let a12 = { ...[|a1|], ...[|a2|] };
|
2017-01-18 22:55:31 +01:00
|
|
|
|
2019-05-31 20:32:25 +02:00
|
|
|
const [r0Def, r0, r1Def, r1, r2, r3] = test.ranges();
|
2017-01-26 20:02:08 +01:00
|
|
|
verify.rangesAreRenameLocations([r0, r2]);
|
|
|
|
verify.rangesAreRenameLocations([r1, r3]);
|