Highlight a few other types in jsdoc comments

Fixes #84622
This commit is contained in:
Matt Bierner 2019-11-12 13:30:55 -08:00
parent 3948b798b6
commit a170916295

View file

@ -38,7 +38,10 @@ function getTagBodyText(tag: Proto.JSDocTagInfo): string | undefined {
function getTagDocumentation(tag: Proto.JSDocTagInfo): string | undefined {
switch (tag.name) {
case 'augments':
case 'extends':
case 'param':
case 'template':
const body = (tag.text || '').split(/^([\w\.]+)\s*-?\s*/);
if (body && body.length === 3) {
const param = body[1];