Avoid putting children tags in jsdoccomment
This commit is contained in:
parent
99748a26fa
commit
fd6676049b
1 changed files with 3 additions and 0 deletions
|
@ -6374,6 +6374,9 @@ namespace ts {
|
||||||
case SyntaxKind.AtToken:
|
case SyntaxKind.AtToken:
|
||||||
if (canParseTag) {
|
if (canParseTag) {
|
||||||
parentTagTerminated = !tryParseChildTag(jsDocTypeLiteral);
|
parentTagTerminated = !tryParseChildTag(jsDocTypeLiteral);
|
||||||
|
if (!parentTagTerminated) {
|
||||||
|
resumePos = scanner.getStartPos();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
seenAsterisk = false;
|
seenAsterisk = false;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue