Skip to content

Commit

Permalink
🐛🔢 Expands Exportation of Generated Types
Browse files Browse the repository at this point in the history
This makes sure that we export every type generated from the grammar so that the full API surface can be consumed.
  • Loading branch information
brucificus committed Mar 26, 2020
1 parent 9e3c138 commit 21a05e9
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import { HTMLLexer } from "./antlr4ts_out/HTMLLexer"
import { HTMLParser } from "./antlr4ts_out/HTMLParser"
import { HTMLParserListener } from "./antlr4ts_out/HTMLParserListener"
import { HTMLParserVisitor } from "./antlr4ts_out/HTMLParserVisitor"

export { HTMLLexer, HTMLParser, HTMLParserListener, HTMLParserVisitor }
export * from './antlr4ts_out/HTMLLexer';
export * from './antlr4ts_out/HTMLParser';
export * from './antlr4ts_out/HTMLParserListener';
export * from './antlr4ts_out/HTMLParserVisitor';

0 comments on commit 21a05e9

Please sign in to comment.