2017-01-24 18:06:46 +01:00
|
|
|
/// <reference path='fourslash.ts'/>
|
|
|
|
|
2019-06-13 21:25:02 +02:00
|
|
|
////interface T { [|[|{| "isDefinition": true, "contextRangeIndex": 0 |}a|]: number|] };
|
2017-01-25 23:15:06 +01:00
|
|
|
////type U = { [K in keyof T]: string };
|
2017-01-24 18:06:46 +01:00
|
|
|
////type V = { [K in keyof U]: boolean };
|
2019-06-13 21:25:02 +02:00
|
|
|
////const u: U = { [|[|{| "isWriteAccess": true, "isDefinition": true, "contextRangeIndex": 2 |}a|]: ""|] }
|
|
|
|
////const v: V = { [|[|{| "isWriteAccess": true, "isDefinition": true, "contextRangeIndex": 4 |}a|]: true|] }
|
2017-01-24 18:06:46 +01:00
|
|
|
|
2019-06-06 00:01:34 +02:00
|
|
|
verify.singleReferenceGroup("(property) T.a: number", "a");
|