File tree 3 files changed +9
-3
lines changed
3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -138,7 +138,8 @@ namespace ts.JsDoc {
138
138
case SyntaxKind . JSDocCallbackTag :
139
139
case SyntaxKind . JSDocPropertyTag :
140
140
case SyntaxKind . JSDocParameterTag :
141
- const { name } = tag as JSDocTypedefTag | JSDocPropertyTag | JSDocParameterTag ;
141
+ case SyntaxKind . JSDocSeeTag :
142
+ const { name } = tag as JSDocTypedefTag | JSDocPropertyTag | JSDocParameterTag | JSDocSeeTag ;
142
143
return name ? withNode ( name ) : comment ;
143
144
default :
144
145
return comment ;
Original file line number Diff line number Diff line change 2
2
{
3
3
"marker": {
4
4
"fileName": "/tests/cases/fourslash/quickInfoJsDocTags.ts",
5
- "position": 272
5
+ "position": 298
6
6
},
7
7
"quickInfo": {
8
8
"kind": "function",
9
9
"kindModifiers": "",
10
10
"textSpan": {
11
- "start": 272 ,
11
+ "start": 298 ,
12
12
"length": 3
13
13
},
14
14
"displayParts": [
99
99
{
100
100
"name": "returns",
101
101
"text": "The result"
102
+ },
103
+ {
104
+ "name": "see",
105
+ "text": "x (the parameter)"
102
106
}
103
107
]
104
108
}
Original file line number Diff line number Diff line change 11
11
//// * @property {number } x The prop
12
12
//// * @param {number } x The param
13
13
//// * @returns The result
14
+ //// * @see x (the parameter)
14
15
//// */
15
16
////function /**/foo(x) {}
16
17
You can’t perform that action at this time.
0 commit comments