2016-04-14 20:48:35 +02:00
|
|
|
/// <reference path='fourslash.ts'/>
|
|
|
|
|
2019-06-13 21:25:02 +02:00
|
|
|
////interface I { [|[|{| "isDefinition": true, "contextRangeIndex": 0 |}boom|](): void;|] }
|
2016-04-14 20:48:35 +02:00
|
|
|
////new class C implements I {
|
2019-06-13 21:25:02 +02:00
|
|
|
//// [|[|{| "isWriteAccess": true, "isDefinition": true, "contextRangeIndex": 2 |}boom|](){}|]
|
2016-04-14 20:48:35 +02:00
|
|
|
////}
|
|
|
|
|
2019-06-06 00:01:34 +02:00
|
|
|
const [r0Def, r0, r1Def, r1] = test.ranges();
|
2018-03-19 19:58:20 +01:00
|
|
|
verify.referenceGroups([r0, r1], [
|
2017-01-27 17:59:33 +01:00
|
|
|
{ definition: "(method) I.boom(): void", ranges: [r0] },
|
|
|
|
{ definition: "(method) C.boom(): void", ranges: [r1] }
|
|
|
|
]);
|