TypeScript/tests/baselines/reference/quickInfoAlias.baseline
Nathan Shively-Sanders dcc27ebaf2
@link support, second try (#43312)
* Revert "Revert "Editor support for link tag (#41877)" (#43302)"

This reverts commit 451d4354b9.

* Fix parsing @link at end of comment

* Parse comments as string when no @link occurs

* fix lint
2021-03-22 16:39:35 -07:00

182 lines
3.2 KiB
Plaintext

[
{
"marker": {
"fileName": "/b.ts",
"position": 26,
"name": "b"
},
"quickInfo": {
"kind": "alias",
"kindModifiers": "export",
"textSpan": {
"start": 25,
"length": 1
},
"displayParts": [
{
"text": "(",
"kind": "punctuation"
},
{
"text": "alias",
"kind": "text"
},
{
"text": ")",
"kind": "punctuation"
},
{
"text": " ",
"kind": "space"
},
{
"text": "const",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "x",
"kind": "aliasName"
},
{
"text": ":",
"kind": "punctuation"
},
{
"text": " ",
"kind": "space"
},
{
"text": "0",
"kind": "stringLiteral"
},
{
"text": "\n",
"kind": "lineBreak"
},
{
"text": "import",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "x",
"kind": "aliasName"
}
],
"documentation": [
{
"text": "Doc",
"kind": "text"
}
],
"tags": [
{
"name": "tag",
"text": [
{
"text": "Tag text",
"kind": "text"
}
]
}
]
}
},
{
"marker": {
"fileName": "/c.ts",
"position": 118,
"name": "c"
},
"quickInfo": {
"kind": "alias",
"kindModifiers": "export",
"textSpan": {
"start": 117,
"length": 1
},
"displayParts": [
{
"text": "(",
"kind": "punctuation"
},
{
"text": "alias",
"kind": "text"
},
{
"text": ")",
"kind": "punctuation"
},
{
"text": " ",
"kind": "space"
},
{
"text": "const",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "x",
"kind": "aliasName"
},
{
"text": ":",
"kind": "punctuation"
},
{
"text": " ",
"kind": "space"
},
{
"text": "0",
"kind": "stringLiteral"
},
{
"text": "\n",
"kind": "lineBreak"
},
{
"text": "import",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "x",
"kind": "aliasName"
}
],
"documentation": [
{
"text": "Doc",
"kind": "text"
}
],
"tags": [
{
"name": "tag",
"text": [
{
"text": "Tag text",
"kind": "text"
}
]
}
]
}
}
]