Files
tsgo/testdata/baselines/reference/fourslash/signatureHelp/jsDocDontBreakWithNamespacesVS.baseline

181 lines
4.7 KiB
Plaintext

// === SignatureHelp ===
=== /jsDocDontBreakWithNamespaces.js ===
// /**
// * @returns {module:@nodefuel/web~Webserver~wsServer#hello} Websocket server object
// */
// function foo() { }
// foo('');
// ^
// | ----------------------------------------------------------------------
// | foo(): module
// | ----------------------------------------------------------------------
//
// /**
// * @type {module:xxxxx} */
// */
// function bar() { }
// bar('');
// ^
// | ----------------------------------------------------------------------
// | bar(): void
// | ----------------------------------------------------------------------
//
// /** @type {function(module:xxxx, module:xxxx): module:xxxxx} */
// function zee() { }
// zee('');
// ^
// | ----------------------------------------------------------------------
// | zee(): void
// | ----------------------------------------------------------------------
[
{
"marker": {
"Position": 117,
"LSPosition": {
"line": 4,
"character": 6
},
"Name": "foo",
"Data": {}
},
"item": {
"signatures": [
{
"label": "foo(): module",
"parameters": [],
"_vs_colorizedLabel": {
"Runs": [
{
"ClassificationTypeName": "method name",
"Text": "foo",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "punctuation",
"Text": "(",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "punctuation",
"Text": ")",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "punctuation",
"Text": ": ",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "text",
"Text": "module",
"_vs_type": "ClassifiedTextRun"
}
],
"_vs_type": "ClassifiedTextElement"
}
}
],
"activeSignature": 0
}
},
{
"marker": {
"Position": 181,
"LSPosition": {
"line": 10,
"character": 6
},
"Name": "bar",
"Data": {}
},
"item": {
"signatures": [
{
"label": "bar(): void",
"parameters": [],
"_vs_colorizedLabel": {
"Runs": [
{
"ClassificationTypeName": "method name",
"Text": "bar",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "punctuation",
"Text": "(",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "punctuation",
"Text": ")",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "punctuation",
"Text": ": ",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "keyword",
"Text": "void",
"_vs_type": "ClassifiedTextRun"
}
],
"_vs_type": "ClassifiedTextElement"
}
}
],
"activeSignature": 0
}
},
{
"marker": {
"Position": 274,
"LSPosition": {
"line": 14,
"character": 6
},
"Name": "zee",
"Data": {}
},
"item": {
"signatures": [
{
"label": "zee(): void",
"parameters": [],
"_vs_colorizedLabel": {
"Runs": [
{
"ClassificationTypeName": "method name",
"Text": "zee",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "punctuation",
"Text": "(",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "punctuation",
"Text": ")",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "punctuation",
"Text": ": ",
"_vs_type": "ClassifiedTextRun"
},
{
"ClassificationTypeName": "keyword",
"Text": "void",
"_vs_type": "ClassifiedTextRun"
}
],
"_vs_type": "ClassifiedTextElement"
}
}
],
"activeSignature": 0
}
}
]