TypeScript/tests/baselines/reference/jsDocAliasQuickInfo.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

180 lines
3.1 KiB
Plaintext

[
{
"marker": {
"fileName": "/jsDocAliasQuickInfo.ts",
"position": 44,
"name": "1"
},
"quickInfo": {
"kind": "property",
"kindModifiers": "export",
"textSpan": {
"start": 44,
"length": 7
},
"displayParts": [
{
"text": "(",
"kind": "punctuation"
},
{
"text": "property",
"kind": "text"
},
{
"text": ")",
"kind": "punctuation"
},
{
"text": " ",
"kind": "space"
},
{
"text": "default",
"kind": "propertyName"
},
{
"text": ":",
"kind": "punctuation"
},
{
"text": " ",
"kind": "space"
},
{
"text": "10",
"kind": "stringLiteral"
}
],
"documentation": [
{
"text": "Comment",
"kind": "text"
}
],
"tags": [
{
"name": "type",
"text": [
{
"text": "{number}",
"kind": "text"
}
]
}
]
}
},
{
"marker": {
"fileName": "/test.ts",
"position": 9,
"name": "2"
},
"quickInfo": {
"kind": "property",
"kindModifiers": "export",
"textSpan": {
"start": 9,
"length": 7
},
"displayParts": [
{
"text": "(",
"kind": "punctuation"
},
{
"text": "property",
"kind": "text"
},
{
"text": ")",
"kind": "punctuation"
},
{
"text": " ",
"kind": "space"
},
{
"text": "default",
"kind": "propertyName"
},
{
"text": ":",
"kind": "punctuation"
},
{
"text": " ",
"kind": "space"
},
{
"text": "10",
"kind": "stringLiteral"
}
],
"documentation": [
{
"text": "Comment",
"kind": "text"
}
],
"tags": [
{
"name": "type",
"text": [
{
"text": "{number}",
"kind": "text"
}
]
}
]
}
},
{
"marker": {
"fileName": "/test.ts",
"position": 20,
"name": "3"
},
"quickInfo": {
"kind": "alias",
"kindModifiers": "export",
"textSpan": {
"start": 20,
"length": 4
},
"displayParts": [
{
"text": "export",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "test",
"kind": "aliasName"
}
],
"documentation": [
{
"text": "Comment",
"kind": "text"
}
],
"tags": [
{
"name": "type",
"text": [
{
"text": "{number}",
"kind": "text"
}
]
}
]
}
}
]