TypeScript/tests/cases/fourslash/findAllRefsObjectBindingElementPropertyName02.ts
2019-06-13 12:41:21 -07:00

12 lines
352 B
TypeScript

/// <reference path='fourslash.ts'/>
////interface I {
//// [|[|{| "isDefinition": true, "contextRangeIndex": 0 |}property1|]: number;|]
//// property2: string;
////}
////
////var foo: I;
////[|var { [|{| "contextRangeIndex": 2 |}property1|]: {} } = foo;|]
verify.singleReferenceGroup("(property) I.property1: number", "property1");