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

727 lines
13 KiB
Plaintext

[
{
"marker": {
"fileName": "/tests/cases/fourslash/jsDocTypeTag1.js",
"position": 26,
"name": "1"
},
"quickInfo": {
"kind": "var",
"kindModifiers": "",
"textSpan": {
"start": 26,
"length": 1
},
"displayParts": [
{
"text": "var",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "S",
"kind": "localName"
},
{
"text": ":",
"kind": "punctuation"
},
{
"text": " ",
"kind": "space"
},
{
"text": "string",
"kind": "keyword"
}
],
"documentation": [],
"tags": [
{
"name": "type",
"text": [
{
"text": "{String}",
"kind": "text"
}
]
}
]
}
},
{
"marker": {
"fileName": "/tests/cases/fourslash/jsDocTypeTag1.js",
"position": 55,
"name": "2"
},
"quickInfo": {
"kind": "var",
"kindModifiers": "",
"textSpan": {
"start": 55,
"length": 1
},
"displayParts": [
{
"text": "var",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "N",
"kind": "localName"
},
{
"text": ":",
"kind": "punctuation"
},
{
"text": " ",
"kind": "space"
},
{
"text": "number",
"kind": "keyword"
}
],
"documentation": [],
"tags": [
{
"name": "type",
"text": [
{
"text": "{Number}",
"kind": "text"
}
]
}
]
}
},
{
"marker": {
"fileName": "/tests/cases/fourslash/jsDocTypeTag1.js",
"position": 85,
"name": "3"
},
"quickInfo": {
"kind": "var",
"kindModifiers": "",
"textSpan": {
"start": 85,
"length": 1
},
"displayParts": [
{
"text": "var",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "B",
"kind": "localName"
},
{
"text": ":",
"kind": "punctuation"
},
{
"text": " ",
"kind": "space"
},
{
"text": "boolean",
"kind": "keyword"
}
],
"documentation": [],
"tags": [
{
"name": "type",
"text": [
{
"text": "{Boolean}",
"kind": "text"
}
]
}
]
}
},
{
"marker": {
"fileName": "/tests/cases/fourslash/jsDocTypeTag1.js",
"position": 112,
"name": "4"
},
"quickInfo": {
"kind": "var",
"kindModifiers": "",
"textSpan": {
"start": 112,
"length": 1
},
"displayParts": [
{
"text": "var",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "V",
"kind": "localName"
},
{
"text": ":",
"kind": "punctuation"
},
{
"text": " ",
"kind": "space"
},
{
"text": "void",
"kind": "keyword"
}
],
"documentation": [],
"tags": [
{
"name": "type",
"text": [
{
"text": "{Void}",
"kind": "text"
}
]
}
]
}
},
{
"marker": {
"fileName": "/tests/cases/fourslash/jsDocTypeTag1.js",
"position": 144,
"name": "5"
},
"quickInfo": {
"kind": "var",
"kindModifiers": "",
"textSpan": {
"start": 144,
"length": 1
},
"displayParts": [
{
"text": "var",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "U",
"kind": "localName"
},
{
"text": ":",
"kind": "punctuation"
},
{
"text": " ",
"kind": "space"
},
{
"text": "undefined",
"kind": "keyword"
}
],
"documentation": [],
"tags": [
{
"name": "type",
"text": [
{
"text": "{Undefined}",
"kind": "text"
}
]
}
]
}
},
{
"marker": {
"fileName": "/tests/cases/fourslash/jsDocTypeTag1.js",
"position": 171,
"name": "6"
},
"quickInfo": {
"kind": "var",
"kindModifiers": "",
"textSpan": {
"start": 171,
"length": 2
},
"displayParts": [
{
"text": "var",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "Nl",
"kind": "localName"
},
{
"text": ":",
"kind": "punctuation"
},
{
"text": " ",
"kind": "space"
},
{
"text": "null",
"kind": "keyword"
}
],
"documentation": [],
"tags": [
{
"name": "type",
"text": [
{
"text": "{Null}",
"kind": "text"
}
]
}
]
}
},
{
"marker": {
"fileName": "/tests/cases/fourslash/jsDocTypeTag1.js",
"position": 200,
"name": "7"
},
"quickInfo": {
"kind": "var",
"kindModifiers": "",
"textSpan": {
"start": 200,
"length": 1
},
"displayParts": [
{
"text": "var",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "A",
"kind": "localName"
},
{
"text": ":",
"kind": "punctuation"
},
{
"text": " ",
"kind": "space"
},
{
"text": "any",
"kind": "keyword"
},
{
"text": "[",
"kind": "punctuation"
},
{
"text": "]",
"kind": "punctuation"
}
],
"documentation": [],
"tags": [
{
"name": "type",
"text": [
{
"text": "{Array}",
"kind": "text"
}
]
}
]
}
},
{
"marker": {
"fileName": "/tests/cases/fourslash/jsDocTypeTag1.js",
"position": 230,
"name": "8"
},
"quickInfo": {
"kind": "var",
"kindModifiers": "",
"textSpan": {
"start": 230,
"length": 1
},
"displayParts": [
{
"text": "var",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "P",
"kind": "localName"
},
{
"text": ":",
"kind": "punctuation"
},
{
"text": " ",
"kind": "space"
},
{
"text": "Promise",
"kind": "interfaceName"
},
{
"text": "<",
"kind": "punctuation"
},
{
"text": "any",
"kind": "keyword"
},
{
"text": ">",
"kind": "punctuation"
}
],
"documentation": [],
"tags": [
{
"name": "type",
"text": [
{
"text": "{Promise}",
"kind": "text"
}
]
}
]
}
},
{
"marker": {
"fileName": "/tests/cases/fourslash/jsDocTypeTag1.js",
"position": 259,
"name": "9"
},
"quickInfo": {
"kind": "var",
"kindModifiers": "",
"textSpan": {
"start": 259,
"length": 3
},
"displayParts": [
{
"text": "var",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "Obj",
"kind": "localName"
},
{
"text": ":",
"kind": "punctuation"
},
{
"text": " ",
"kind": "space"
},
{
"text": "any",
"kind": "keyword"
}
],
"documentation": [],
"tags": [
{
"name": "type",
"text": [
{
"text": "{Object}",
"kind": "text"
}
]
}
]
}
},
{
"marker": {
"fileName": "/tests/cases/fourslash/jsDocTypeTag1.js",
"position": 292,
"name": "10"
},
"quickInfo": {
"kind": "var",
"kindModifiers": "",
"textSpan": {
"start": 292,
"length": 4
},
"displayParts": [
{
"text": "var",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "Func",
"kind": "localName"
},
{
"text": ":",
"kind": "punctuation"
},
{
"text": " ",
"kind": "space"
},
{
"text": "Function",
"kind": "localName"
}
],
"documentation": [],
"tags": [
{
"name": "type",
"text": [
{
"text": "{Function}",
"kind": "text"
}
]
}
]
}
},
{
"marker": {
"fileName": "/tests/cases/fourslash/jsDocTypeTag1.js",
"position": 319,
"name": "11"
},
"quickInfo": {
"kind": "var",
"kindModifiers": "",
"textSpan": {
"start": 319,
"length": 7
},
"displayParts": [
{
"text": "var",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "AnyType",
"kind": "localName"
},
{
"text": ":",
"kind": "punctuation"
},
{
"text": " ",
"kind": "space"
},
{
"text": "any",
"kind": "keyword"
}
],
"documentation": [],
"tags": [
{
"name": "type",
"text": [
{
"text": "{*}",
"kind": "text"
}
]
}
]
}
},
{
"marker": {
"fileName": "/tests/cases/fourslash/jsDocTypeTag1.js",
"position": 349,
"name": "12"
},
"quickInfo": {
"kind": "var",
"kindModifiers": "",
"textSpan": {
"start": 349,
"length": 5
},
"displayParts": [
{
"text": "var",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "QType",
"kind": "localName"
},
{
"text": ":",
"kind": "punctuation"
},
{
"text": " ",
"kind": "space"
},
{
"text": "any",
"kind": "keyword"
}
],
"documentation": [],
"tags": [
{
"name": "type",
"text": [
{
"text": "{?}",
"kind": "text"
}
]
}
]
}
},
{
"marker": {
"fileName": "/tests/cases/fourslash/jsDocTypeTag1.js",
"position": 389,
"name": "13"
},
"quickInfo": {
"kind": "var",
"kindModifiers": "",
"textSpan": {
"start": 389,
"length": 4
},
"displayParts": [
{
"text": "var",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "SOrN",
"kind": "localName"
},
{
"text": ":",
"kind": "punctuation"
},
{
"text": " ",
"kind": "space"
},
{
"text": "string",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "|",
"kind": "punctuation"
},
{
"text": " ",
"kind": "space"
},
{
"text": "number",
"kind": "keyword"
}
],
"documentation": [],
"tags": [
{
"name": "type",
"text": [
{
"text": "{String|Number}",
"kind": "text"
}
]
}
]
}
}
]