TypeScript/tests/cases/fourslash/navigateItemsConst.ts
Andy efc1b7df08
More thoroughly test navigateTo (#25239)
* More thoroughly test navigateTo

* Fix #25233 and #25237

* Update API (#24966)
2018-07-02 19:25:27 -07:00

16 lines
432 B
TypeScript

/// <reference path="fourslash.ts" />
// @noLib: true
////const [|{| "name": "c", "kind": "const" |}c = 10|];
////function foo() {
//// const [|{| "name": "d", "kind": "const", "containerName": "foo", "containerKind": "function" |}d = 10|];
////}
for (const range of test.ranges()) {
verify.navigateTo({
pattern: range.marker.data.name,
expected: [{ ...range.marker.data, range }],
})
}