Skip to content

Commit 9d1bafa

Browse files
Andarista-tarasyukCopilot
authored
Port "fix(60592): JSDoc implements space sensetive" (#1066)
Co-authored-by: Oleksandr T <[email protected]> Co-authored-by: Copilot <[email protected]>
1 parent 04fae66 commit 9d1bafa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/parser/jsdoc.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -884,6 +884,7 @@ func (p *Parser) parseExpressionWithTypeArgumentsForAugments() *ast.Node {
884884
res := node
885885
p.finishNode(node, pos)
886886
if usedBrace {
887+
p.skipWhitespace()
887888
p.parseExpected(ast.KindCloseBraceToken)
888889
}
889890
return res

0 commit comments

Comments
 (0)