Skip to content

Commit

Permalink
fix: fix type alias error issues
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Nov 16, 2022
1 parent 9fcff9f commit c218d81
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions chapi-ast-typescript/src/main/antlr/TypeScriptParser.g4
Original file line number Diff line number Diff line change
Expand Up @@ -374,11 +374,10 @@ statement
| functionDeclaration
| arrowFunctionDeclaration
| generatorFunctionDeclaration
| variableStatement
| typeAliasDeclaration //ADDED
| enumDeclaration //ADDED
| variableStatement
| expressionStatement
| Export statement
;

block
Expand Down

0 comments on commit c218d81

Please sign in to comment.