* Use jsdoc aliases if visible when printing types * Modify implementation a bit, add test that aughta change in the new future * Accept baselines- hold off on typedef template lookup change
107 lines
1.9 KiB
TypeScript
107 lines
1.9 KiB
TypeScript
[
|
|
{
|
|
"marker": {
|
|
"fileName": "/tests/cases/fourslash/jsDocTypedef1.js",
|
|
"position": 189
|
|
},
|
|
"quickInfo": {
|
|
"kind": "parameter",
|
|
"kindModifiers": "",
|
|
"textSpan": {
|
|
"start": 189,
|
|
"length": 4
|
|
},
|
|
"displayParts": [
|
|
{
|
|
"text": "(",
|
|
"kind": "punctuation"
|
|
},
|
|
{
|
|
"text": "parameter",
|
|
"kind": "text"
|
|
},
|
|
{
|
|
"text": ")",
|
|
"kind": "punctuation"
|
|
},
|
|
{
|
|
"text": " ",
|
|
"kind": "space"
|
|
},
|
|
{
|
|
"text": "opts",
|
|
"kind": "parameterName"
|
|
},
|
|
{
|
|
"text": ":",
|
|
"kind": "punctuation"
|
|
},
|
|
{
|
|
"text": " ",
|
|
"kind": "space"
|
|
},
|
|
{
|
|
"text": "Opts",
|
|
"kind": "aliasName"
|
|
}
|
|
],
|
|
"documentation": [],
|
|
"tags": [
|
|
{
|
|
"name": "param",
|
|
"text": "opts"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"marker": {
|
|
"fileName": "/tests/cases/fourslash/jsDocTypedef1.js",
|
|
"position": 424
|
|
},
|
|
"quickInfo": {
|
|
"kind": "parameter",
|
|
"kindModifiers": "",
|
|
"textSpan": {
|
|
"start": 424,
|
|
"length": 5
|
|
},
|
|
"displayParts": [
|
|
{
|
|
"text": "(",
|
|
"kind": "punctuation"
|
|
},
|
|
{
|
|
"text": "parameter",
|
|
"kind": "text"
|
|
},
|
|
{
|
|
"text": ")",
|
|
"kind": "punctuation"
|
|
},
|
|
{
|
|
"text": " ",
|
|
"kind": "space"
|
|
},
|
|
{
|
|
"text": "opts1",
|
|
"kind": "parameterName"
|
|
},
|
|
{
|
|
"text": ":",
|
|
"kind": "punctuation"
|
|
},
|
|
{
|
|
"text": " ",
|
|
"kind": "space"
|
|
},
|
|
{
|
|
"text": "any",
|
|
"kind": "keyword"
|
|
}
|
|
],
|
|
"documentation": [],
|
|
"tags": []
|
|
}
|
|
}
|
|
] |