TypeScript/tests/cases/fourslash/findAllRefsObjectBindingElementPropertyName10.ts

12 lines
394 B
TypeScript
Raw Normal View History

2015-07-16 00:07:04 +02:00
/// <reference path='fourslash.ts'/>
////interface Recursive {
2019-06-13 21:25:02 +02:00
//// [|[|{| "isDefinition": true, "contextRangeIndex": 0 |}next|]?: Recursive;|]
2015-07-16 00:07:04 +02:00
//// value: any;
////}
////
2019-06-13 21:25:02 +02:00
////function f ([|{ [|{| "contextRangeIndex": 2 |}next|]: { [|{| "contextRangeIndex": 2 |}next|]: x} }: Recursive|]) {
2015-07-16 00:07:04 +02:00
////}
2019-06-06 00:01:34 +02:00
verify.singleReferenceGroup("(property) Recursive.next?: Recursive", "next");