2017-08-30 23:19:49 +02:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
////interface I {
|
2019-06-13 21:25:02 +02:00
|
|
|
//// [|[|{| "isDefinition": true, "contextRangeIndex": 0 |}0|]: number;|]
|
|
|
|
//// [|[|{| "isDefinition": true, "contextRangeIndex": 2 |}s|]: string;|]
|
2017-08-30 23:19:49 +02:00
|
|
|
////}
|
|
|
|
////interface J {
|
|
|
|
//// a: I[[|0|]],
|
|
|
|
//// b: I["[|s|]"],
|
|
|
|
////}
|
|
|
|
|
2019-06-06 00:01:34 +02:00
|
|
|
verify.singleReferenceGroup("(property) I[0]: number", "0");
|
|
|
|
verify.singleReferenceGroup("(property) I.s: string", "s");
|