mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 23:13:02 +01:00
Build tag text correctly for all tags
This commit is contained in:
parent
3fb5fa051e
commit
b8e0740b41
1 changed files with 1 additions and 1 deletions
|
|
@ -576,7 +576,7 @@ function tagToString(tag: ts.JSDocTagInfo): string {
|
||||||
tagLabel += `\`${paramName.text}\``;
|
tagLabel += `\`${paramName.text}\``;
|
||||||
if (rest.length > 0) tagLabel += ` — ${rest.map(r => r.text).join(' ')}`;
|
if (rest.length > 0) tagLabel += ` — ${rest.map(r => r.text).join(' ')}`;
|
||||||
} else if (tag.text) {
|
} else if (tag.text) {
|
||||||
tagLabel += ` — ${tag.text}`;
|
tagLabel += ` — ${tag.text.map(r => r.text).join(' ')}`;
|
||||||
}
|
}
|
||||||
return tagLabel;
|
return tagLabel;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue