We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e4e2ad commit b86d867Copy full SHA for b86d867
1 file changed
chapi-ast-typescript/src/main/antlr/TypeScriptParser.g4
@@ -404,7 +404,7 @@ functionDeclaration
404
;
405
406
functionBody
407
- : '{' statementList? '}'
+ : statementList?
408
409
410
@@ -905,7 +905,7 @@ singleExpression
905
| singleExpression ('.' | '?''.') identifierName # PropertyAccessExpression
906
| New (Dot Target| singleExpression ) # NewExpression
907
// find arguments first, then found the call expression
908
- | singleExpression typeArguments? arguments # ArgumentsExpression
+// | singleExpression typeArguments? arguments # ArgumentsExpression
909
| '(' expressionSequence ')' # ParenthesizedExpression
910
911
// TODO:
0 commit comments