Skip to content

Commit

Permalink
Update openrewrite/src/javascript/parser.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Knut Wannheden <[email protected]>
  • Loading branch information
OlegDokuka and knutwannheden authored Oct 10, 2024
1 parent de94ed5 commit 2ccbf9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openrewrite/src/javascript/parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ export class JavaScriptParserVisitor {
this.mapDecorators(node),
this.mapModifiers(node),
node.typeParameters
? new J.TypeParameters(randomId(), this.suffix(node.name), Markers.EMPTY, [], node.typeParameters.map(tp => new JRightPadded<J.TypeParameter>(this.visit(tp), this.suffix(tp), Markers.EMPTY)))
? new J.TypeParameters(randomId(), this.suffix(node.name), Markers.EMPTY, [], node.typeParameters.map(tp => this.rightPadded(this.visit(tp), this.suffix(tp))))
: null,
node.type ? this.visit(node.type) : null,
new J.MethodDeclaration.IdentifierWithAnnotations(
Expand Down

0 comments on commit 2ccbf9f

Please sign in to comment.