2018-06-20 21:57:34 +02:00
|
|
|
/// <reference path="fourslash.ts" />
|
|
|
|
|
|
|
|
// @allowJs: true
|
|
|
|
|
|
|
|
// @Filename: /a.js
|
|
|
|
////exports.a = exports.b = exports.c = 0;
|
|
|
|
|
|
|
|
verify.navigationTree({
|
|
|
|
text: "<global>",
|
|
|
|
kind: "script",
|
|
|
|
childItems: [
|
|
|
|
{
|
|
|
|
text: "a",
|
|
|
|
kind: "const",
|
|
|
|
childItems: [
|
|
|
|
{
|
|
|
|
text: "b",
|
|
|
|
kind: "const",
|
|
|
|
childItems: [{ text: "c", kind: "const" }],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
});
|
|
|
|
|
|
|
|
verify.navigationBar([
|
|
|
|
{
|
|
|
|
text: "<global>",
|
|
|
|
kind: "script",
|
|
|
|
childItems: [
|
|
|
|
{ text: "a", kind: "const" },
|
2019-09-12 00:54:27 +02:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
text: "a",
|
|
|
|
kind: "const",
|
|
|
|
childItems: [
|
|
|
|
{ text: "b", kind: "const"},
|
2018-06-20 21:57:34 +02:00
|
|
|
],
|
2019-09-12 00:54:27 +02:00
|
|
|
indent: 1,
|
2018-06-20 21:57:34 +02:00
|
|
|
},
|
2019-09-12 00:54:27 +02:00
|
|
|
{
|
|
|
|
text: "b",
|
|
|
|
kind: "const",
|
|
|
|
childItems: [
|
|
|
|
{ text: "c", kind: "const" },
|
|
|
|
],
|
|
|
|
indent: 2,
|
|
|
|
}
|
2018-06-20 21:57:34 +02:00
|
|
|
]);
|
|
|
|
|