mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-07-06 06:49:29 -05:00
fix jsdoc iterator on expression of export assignment (#30558)
This commit is contained in:
committed by
Ryan Cavanaugh
parent
867c992021
commit
b8e3c41ee1
@@ -2221,6 +2221,7 @@ namespace ts {
|
||||
function getNextJSDocCommentLocation(node: Node) {
|
||||
const parent = node.parent;
|
||||
if (parent.kind === SyntaxKind.PropertyAssignment ||
|
||||
parent.kind === SyntaxKind.ExportAssignment ||
|
||||
parent.kind === SyntaxKind.PropertyDeclaration ||
|
||||
parent.kind === SyntaxKind.ExpressionStatement && node.kind === SyntaxKind.PropertyAccessExpression ||
|
||||
getNestedModuleDeclaration(parent) ||
|
||||
|
||||
Reference in New Issue
Block a user