Skip to content

Commit

Permalink
fix: parse enums
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Musat authored and gabotechs committed Dec 24, 2022
1 parent 3a737fb commit efac430
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/js/grammar/export.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ type ExportDeconstruction struct {
}

type DeclarationExport struct {
Name string `"export" "async"? ("let"|"const"|"var"|"function"|"class"|"type"|"interface") ALL? @Ident`
Name string `"export" "async"? ("let"|"const"|"var"|"function"|"class"|"type"|"interface"|"enum") ALL? @Ident`
}

type ListExport struct {
Expand Down

0 comments on commit efac430

Please sign in to comment.