TypeScript/tests/cases/fourslash/findAllRefsForObjectLiteralProperties.ts

12 lines
337 B
TypeScript
Raw Normal View History

2016-05-04 21:06:51 +02:00
/// <reference path='fourslash.ts'/>
////var x = {
2019-06-13 21:25:02 +02:00
//// [|[|{| "isWriteAccess": true, "isDefinition": true, "contextRangeIndex": 0 |}property|]: {}|]
2016-05-04 21:06:51 +02:00
////};
////
////x.[|property|];
////
2019-06-13 21:25:02 +02:00
////[|let {[|{| "contextRangeIndex": 3 |}property|]: pVar} = x;|]
2016-05-04 21:06:51 +02:00
2019-06-06 00:01:34 +02:00
verify.singleReferenceGroup("(property) property: {}", "property");