2018-01-19 21:15:41 +01:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
2019-06-13 21:25:02 +02:00
|
|
|
////[|const [|{| "isWriteAccess": true, "isDefinition": true, "contextRangeIndex": 0 |}x|] = 0;|]
|
2018-01-19 21:15:41 +01:00
|
|
|
////[|x|];
|
|
|
|
|
2019-06-06 18:49:31 +02:00
|
|
|
const ranges = test.rangesByText().get("x");
|
2018-03-01 21:46:00 +01:00
|
|
|
verify.referenceGroups(ranges, [
|
2018-01-19 21:15:41 +01:00
|
|
|
{
|
2018-03-01 21:46:00 +01:00
|
|
|
definition: { text: "const x: 0", range: ranges[0] },
|
2018-01-19 21:15:41 +01:00
|
|
|
ranges,
|
|
|
|
},
|
|
|
|
])
|