TypeScript/tests/cases/fourslash/navigateItemsConst.ts

16 lines
432 B
TypeScript
Raw Normal View History

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