2020-01-22 14:13:04 +01:00
|
|
|
// 35477
|
|
|
|
/// <reference path="fourslash.ts"/>
|
|
|
|
|
|
|
|
//// export = function () {}
|
2020-06-26 18:35:27 +02:00
|
|
|
//// export = function () {
|
|
|
|
//// return class Foo {
|
|
|
|
//// }
|
|
|
|
//// }
|
|
|
|
////
|
2020-01-22 14:13:04 +01:00
|
|
|
//// export = () => ""
|
2020-06-26 18:35:27 +02:00
|
|
|
//// export = () => {
|
|
|
|
//// return class Foo {
|
|
|
|
//// }
|
|
|
|
//// }
|
|
|
|
////
|
|
|
|
//// export = function f1() {}
|
|
|
|
//// export = function f2() {
|
|
|
|
//// return class Foo {
|
|
|
|
//// }
|
|
|
|
//// }
|
|
|
|
////
|
|
|
|
//// const abc = 12;
|
|
|
|
//// export = abc;
|
2020-01-22 14:13:04 +01:00
|
|
|
//// export = class AB {}
|
2020-05-12 16:26:31 +02:00
|
|
|
//// export = {
|
|
|
|
//// a: 1,
|
|
|
|
//// b: 1,
|
|
|
|
//// c: {
|
|
|
|
//// d: 1
|
|
|
|
//// }
|
|
|
|
//// }
|
2020-01-22 14:13:04 +01:00
|
|
|
|
|
|
|
verify.navigationTree({
|
|
|
|
"text": '"navigationItemsExportEqualsExpression"',
|
|
|
|
"kind": "module",
|
|
|
|
"childItems": [
|
|
|
|
{
|
|
|
|
"text": "export=",
|
|
|
|
"kind": "function",
|
|
|
|
"kindModifiers": "export"
|
|
|
|
},
|
2020-06-26 18:35:27 +02:00
|
|
|
{
|
|
|
|
"text": "export=",
|
|
|
|
"kind": "function",
|
|
|
|
"kindModifiers": "export",
|
|
|
|
"childItems": [
|
|
|
|
{
|
|
|
|
"text": "Foo",
|
|
|
|
"kind": "class"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"text": "export=",
|
|
|
|
"kind": "function",
|
|
|
|
"kindModifiers": "export"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"text": "export=",
|
|
|
|
"kind": "function",
|
|
|
|
"kindModifiers": "export",
|
|
|
|
"childItems": [
|
|
|
|
{
|
|
|
|
"text": "Foo",
|
|
|
|
"kind": "class"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2020-01-22 14:13:04 +01:00
|
|
|
{
|
|
|
|
"text": "export=",
|
|
|
|
"kind": "function",
|
|
|
|
"kindModifiers": "export"
|
|
|
|
},
|
2020-06-26 18:35:27 +02:00
|
|
|
{
|
|
|
|
"text": "export=",
|
|
|
|
"kind": "function",
|
|
|
|
"kindModifiers": "export",
|
|
|
|
"childItems": [
|
|
|
|
{
|
|
|
|
"text": "Foo",
|
|
|
|
"kind": "class"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2020-01-22 14:13:04 +01:00
|
|
|
{
|
|
|
|
"text": "export=",
|
|
|
|
"kind": "class",
|
|
|
|
"kindModifiers": "export"
|
|
|
|
},
|
2020-05-12 16:26:31 +02:00
|
|
|
{
|
|
|
|
"text": "export=",
|
|
|
|
"kind": "const",
|
|
|
|
"kindModifiers": "export",
|
|
|
|
"childItems": [
|
|
|
|
{
|
|
|
|
"text": "a",
|
|
|
|
"kind": "property"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"text": "b",
|
|
|
|
"kind": "property"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"text": "c",
|
|
|
|
"kind": "property",
|
|
|
|
"childItems": [
|
|
|
|
{
|
|
|
|
"text": "d",
|
|
|
|
"kind": "property"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2020-01-22 14:13:04 +01:00
|
|
|
{
|
|
|
|
"text": "abc",
|
|
|
|
"kind": "const"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"text": "export=",
|
|
|
|
"kind": "const",
|
|
|
|
"kindModifiers": "export"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
});
|
|
|
|
|