Skip to content

Commit c218d81

Browse files
committed
fix: fix type alias error issues
1 parent 9fcff9f commit c218d81

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

chapi-ast-typescript/src/main/antlr/TypeScriptParser.g4

+1-2
Original file line numberDiff line numberDiff line change
@@ -374,11 +374,10 @@ statement
374374
| functionDeclaration
375375
| arrowFunctionDeclaration
376376
| generatorFunctionDeclaration
377-
| variableStatement
378377
| typeAliasDeclaration //ADDED
379378
| enumDeclaration //ADDED
379+
| variableStatement
380380
| expressionStatement
381-
| Export statement
382381
;
383382

384383
block

0 commit comments

Comments
 (0)