Skip to content

Commit

Permalink
fix(ts): fix empty classBody issue
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Nov 17, 2022
1 parent 0eea7d2 commit 2782a01
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ class TypeScriptFullIdentListener(node: TSIdentify) : TypeScriptAstListener() {
currentAnnotations = arrayOf()
hasAnnotation = false

if (ctx.classBody() != null) {
if (ctx.classBody()?.classMemberList() != null) {
this.handleClassBodyElements(ctx.classBody())
}

Expand Down

0 comments on commit 2782a01

Please sign in to comment.